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.0009689/0.0009689, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008718/0.0008718, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9292/0.9292, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.707/1.707, allocations: 359 MB / 0.6037 GB, free: 11.11 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 2.194e-06/2.194e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.222e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001459/0.001481, allocations: 0.7907 MB / 0.9513 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001128/0.001594, allocations: 43.78 kB / 0.9513 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.001642, allocations: 0 / 0.9513 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.001679, allocations: 11.81 kB / 0.9513 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.001764, allocations: 15.92 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.567e-05/0.00181, allocations: 19.97 kB / 0.9514 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.001913, allocations: 59.84 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.002032, allocations: 27.98 kB / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.00211, allocations: 43.83 kB / 0.9515 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.002146, allocations: 15.92 kB / 0.9515 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.002168, allocations: 7.938 kB / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-06/0.002176, allocations: 8 kB / 0.9515 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.002193, allocations: 15.91 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.00222, allocations: 19.94 kB / 0.9516 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.002324, allocations: 75.75 kB / 0.9516 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.002327, allocations: 0 / 0.9516 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.153e-06/0.002328, allocations: 3.938 kB / 0.9516 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002331, allocations: 0 / 0.9516 GB, free: 2.367 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.000335/0.002666, allocations: 306 kB / 0.9519 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.002707, allocations: 8.031 kB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.002739, allocations: 38.75 kB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.002764, allocations: 12.84 kB / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.002918, allocations: 145.5 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.002926, allocations: 384 / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.002937, allocations: 16.38 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.00306, allocations: 87.94 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.003067, allocations: 192 / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.003077, allocations: 8.375 kB / 0.9522 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.003083, allocations: 4.125 kB / 0.9522 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.507e-05/0.003148, allocations: 39.92 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.003553, allocations: 391.7 kB / 0.9526 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.918e-05/0.003602, allocations: 45.33 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.00363, allocations: 17.78 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.003637, allocations: 3.984 kB / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.003655, allocations: 38.56 kB / 0.9527 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.003656, allocations: 0 / 0.9527 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001364/0.003792, allocations: 53.58 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.003828, allocations: 84.98 kB / 0.9529 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.003938, allocations: 161 kB / 0.953 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.00395, allocations: 29.7 kB / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.003995, allocations: 96.09 kB / 0.9531 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-06/0.004003, allocations: 8.188 kB / 0.9532 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.004029, allocations: 25.67 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.004109, allocations: 318.8 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.004123, allocations: 3.984 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.43e-05/0.004147, allocations: 21.72 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.363e-05/0.00418, allocations: 25.72 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004182, allocations: 0 / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.541e-05/0.004248, allocations: 61.58 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.004261, allocations: 8 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.004266, allocations: 4.062 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.004278, allocations: 0 / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.004331, allocations: 11.94 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.004335, allocations: 0 / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.004354, allocations: 3.938 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.004358, allocations: 4 kB / 0.9536 GB, free: 96 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 7.734e-05/0.004435, allocations: 121.7 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.004457, allocations: 15.88 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.004476, allocations: 7.812 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004478, allocations: 4 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.004483, allocations: 7.938 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.004486, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.004741, allocations: 433.9 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.004742, allocations: 0 / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.004754, allocations: 7.938 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.004756, allocations: 3.984 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.004762, allocations: 4 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004763, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.004764, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.252e-05/0.004816, allocations: 74.02 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.00484, allocations: 19.88 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.004851, allocations: 4 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.004862, allocations: 3.938 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.004872, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.004874, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.004935, allocations: 122.3 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004935, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001317/0.005066, allocations: 8 kB / 0.9544 GB, free: 15.19 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.0003715/0.005438, allocations: 0.6172 MB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.969e-05/0.005508, allocations: 15.94 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.00551, allocations: 0 / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/0.005518, allocations: 7.984 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.005638, allocations: 9.719 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.006508, allocations: 1.341 MB / 0.9564 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.006556, allocations: 79.58 kB / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.006586, allocations: 8.484 kB / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.006633, allocations: 20.5 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.006634, allocations: 0 / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.02041, allocations: 2.252 MB / 0.9587 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.543/6.563, allocations: 0.75 kB / 0.9587 GB, free: 10.83 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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.688661942258477]