Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8723/0.8723, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.726/1.726, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.586e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001425/0.001441, allocations: 0.8013 MB / 0.9818 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.001568, allocations: 39.78 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.001626, allocations: 0 / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.723e-05/0.001673, allocations: 11.86 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.001773, allocations: 19.86 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.518e-05/0.001828, allocations: 19.98 kB / 0.9818 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.001941, allocations: 55.84 kB / 0.9819 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.002082, allocations: 31.97 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.00215, allocations: 39.84 kB / 0.982 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.002205, allocations: 19.91 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.002225, allocations: 4 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-06/0.002232, allocations: 8 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.002251, allocations: 15.92 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.002276, allocations: 19.92 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.451e-05/0.002371, allocations: 79.62 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002372, allocations: 0 / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002373, allocations: 4 kB / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.002377, allocations: 0 / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003268/0.002704, allocations: 298 kB / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.002741, allocations: 8.031 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.002773, allocations: 42.73 kB / 0.9824 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.002795, allocations: 12.84 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.002937, allocations: 133.7 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.002948, allocations: 4.375 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.002958, allocations: 12.31 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.003076, allocations: 91.89 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.003083, allocations: 4.188 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.003094, allocations: 4.375 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.003103, allocations: 8.109 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.003167, allocations: 43.86 kB / 0.9827 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.003537, allocations: 395.8 kB / 0.9831 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.292e-05/0.00359, allocations: 41.25 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.00362, allocations: 13.78 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.003627, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.003648, allocations: 46.55 kB / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.003649, allocations: 0 / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.000128/0.003777, allocations: 49.59 kB / 0.9833 GB, free: 60 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.003821, allocations: 85.05 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.003921, allocations: 160.3 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.00393, allocations: 25.7 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.003978, allocations: 104 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.003984, allocations: 7.891 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.00401, allocations: 17.72 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.004084, allocations: 323.1 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.004101, allocations: 8 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.004119, allocations: 21.66 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.004151, allocations: 25.7 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004153, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.632e-05/0.004209, allocations: 61.59 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.004221, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004225, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.004238, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.004293, allocations: 19.98 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.004298, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.004315, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.004319, allocations: 4 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.004372, allocations: 113.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.004393, allocations: 11.91 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.754e-05/0.004411, allocations: 11.81 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.004414, allocations: 3.984 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.004419, allocations: 7.875 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.004422, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.004659, allocations: 433.9 kB / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.004661, allocations: 4 kB / 0.9846 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-06/0.00467, allocations: 3.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.004671, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.004676, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.004679, allocations: 3.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004679, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.004988, allocations: 81.88 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.005008, allocations: 11.89 kB / 0.9847 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.005019, allocations: 4.094 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.005031, allocations: 4 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.005045, allocations: 3.984 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.005047, allocations: 4 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.005107, allocations: 122.1 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005107, allocations: 4 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001214/0.005228, allocations: 11.94 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/0.00547, allocations: 0.6131 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.129e-05/0.005541, allocations: 23.95 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.005543, allocations: 0 / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-06/0.005549, allocations: 4 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.005669, allocations: 14.88 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.00652, allocations: 1.339 MB / 0.9868 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.784e-05/0.006568, allocations: 79.56 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.006592, allocations: 8.5 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.006633, allocations: 28.48 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.006634, allocations: 0 / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02097, allocations: 2.238 MB / 0.9891 GB, free: 9.863 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.69, allocations: 4.688 kB / 0.9891 GB, free: 9.863 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.653576883487403]