Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0007866/0.0007866, 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.0007743/0.0007743, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9105/0.9105, allocations: 177.1 MB / 202.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.To_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.466e-05, allocations: 5.938 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.00127/0.001285, allocations: 0.783 MB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001077/0.001393, allocations: 47.78 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.001439, allocations: 0 / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.001474, allocations: 11.86 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.001543, allocations: 7.938 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.671e-05/0.001579, allocations: 15.98 kB / 0.9514 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.001667, allocations: 67.77 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.001779, allocations: 27.97 kB / 0.9515 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.352e-05/0.001852, allocations: 47.83 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.357e-05/0.001886, allocations: 15.92 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.001907, allocations: 8 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.001913, allocations: 8 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.00193, allocations: 11.92 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.001956, allocations: 23.92 kB / 0.9516 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.966e-05/0.002046, allocations: 75.69 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002048, allocations: 0 / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002049, allocations: 0 / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002052, allocations: 0 / 0.9516 GB, free: 2.336 MB / 0.9011 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.0003599/0.002412, allocations: 305.9 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.002451, allocations: 12.02 kB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.002483, allocations: 38.75 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.002504, allocations: 16.84 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.002646, allocations: 141.5 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.002655, allocations: 384 / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.002667, allocations: 12.38 kB / 0.9521 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.00278, allocations: 91.92 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.002788, allocations: 4.125 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.002799, allocations: 8.375 kB / 0.9522 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.002805, allocations: 4.125 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.002858, allocations: 35.98 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.00322, allocations: 395.9 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/0.003273, allocations: 41.16 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.003301, allocations: 17.77 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.003308, allocations: 0 / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.003328, allocations: 42.5 kB / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.82e-07/0.003328, allocations: 0 / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001266/0.003455, allocations: 45.66 kB / 0.9528 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.003489, allocations: 84.98 kB / 0.9529 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.003593, allocations: 161.2 kB / 0.953 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.003603, allocations: 33.7 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.00365, allocations: 100.1 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-06/0.003655, allocations: 3.953 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.003681, allocations: 25.66 kB / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.003754, allocations: 314.8 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.003765, allocations: 4 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.003782, allocations: 25.7 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.003813, allocations: 21.72 kB / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003814, allocations: 4 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.158e-05/0.003866, allocations: 61.58 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.003879, allocations: 8 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.003882, allocations: 3.938 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.003894, allocations: 0 / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.003944, allocations: 15.94 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.003948, allocations: 0 / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.003964, allocations: 7.875 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.003969, allocations: 7.938 kB / 0.9536 GB, free: 52 kB / 0.9011 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 6.375e-05/0.004032, allocations: 113.9 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.004053, allocations: 11.95 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.004073, allocations: 11.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.004076, allocations: 4 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.004081, allocations: 3.938 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.004083, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.004323, allocations: 433.9 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004324, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-06/0.004333, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004334, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.004339, allocations: 4.062 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00434, allocations: 4 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004341, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.004481, allocations: 77.88 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.0045, allocations: 19.88 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.00451, allocations: 4 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.004519, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.004529, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.00453, allocations: 0 / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.004585, allocations: 119.2 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004585, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001196/0.004705, allocations: 12.03 kB / 0.9544 GB, free: 15.15 MB / 0.9167 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.0002058/0.004911, allocations: 0.6132 MB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.923e-05/0.00497, allocations: 15.94 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.004971, allocations: 0 / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-06/0.004978, allocations: 4 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.00509, allocations: 10.03 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.00586, allocations: 1.352 MB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.005899, allocations: 71.33 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.005924, allocations: 20.5 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.005961, allocations: 16.5 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of SimCode: time 4.1e-07/0.005962, allocations: 4 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.02245, allocations: 2.245 MB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.618, allocations: 6.875 kB / 0.9587 GB, free: 10.79 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.668764362111688]