Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.0008076/0.0008076, 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.0008642/0.0008642, allocations: 169.9 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.9087/0.9087, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.662/1.662, 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.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.272e-05, allocations: 5.656 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.00159/0.001612, allocations: 0.7908 MB / 0.9513 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.001717, allocations: 39.78 kB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.001768, allocations: 4 kB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.001804, allocations: 7.875 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.001872, allocations: 7.875 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.104e-05/0.001914, allocations: 23.97 kB / 0.9514 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.273e-05/0.002006, allocations: 63.78 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.002121, allocations: 27.97 kB / 0.9515 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.002185, allocations: 39.91 kB / 0.9515 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.002235, allocations: 19.91 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.002257, allocations: 4 kB / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.002264, allocations: 11.94 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.002282, allocations: 15.92 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.002307, allocations: 19.92 kB / 0.9516 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.002406, allocations: 79.69 kB / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.002409, allocations: 0 / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00241, allocations: 0 / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.002414, allocations: 0 / 0.9516 GB, free: 2.348 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.0003403/0.002755, allocations: 310 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.002792, allocations: 8.031 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.002823, allocations: 38.75 kB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.002846, allocations: 12.84 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.003006, allocations: 141.4 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.003018, allocations: 8.375 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.003027, allocations: 4.375 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.003147, allocations: 91.95 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.003154, allocations: 192 / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.003164, allocations: 4.375 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.003171, allocations: 8.125 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.003229, allocations: 39.92 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.003664, allocations: 387.8 kB / 0.9526 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.003717, allocations: 37.28 kB / 0.9527 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.003747, allocations: 21.84 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.003755, allocations: 0 / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.003773, allocations: 30.56 kB / 0.9527 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.003774, allocations: 4 kB / 0.9527 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.003924, allocations: 57.67 kB / 0.9528 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.003963, allocations: 81.05 kB / 0.9529 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.004072, allocations: 164.3 kB / 0.953 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004081, allocations: 25.7 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.004137, allocations: 104 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.004147, allocations: 15.91 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.004176, allocations: 17.67 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.004255, allocations: 322.8 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.00427, allocations: 8 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.004296, allocations: 13.72 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.004336, allocations: 33.88 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.004338, allocations: 0 / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.215e-05/0.0044, allocations: 57.58 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.004415, allocations: 4 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.004421, allocations: 4 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.004433, allocations: 0 / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.004496, allocations: 11.94 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.004502, allocations: 0 / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.00452, allocations: 8 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-06/0.004524, allocations: 8 kB / 0.9536 GB, free: 76 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.444e-05/0.004598, allocations: 121.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.004621, allocations: 11.91 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.00464, allocations: 7.812 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.004642, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.004648, allocations: 7.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004651, allocations: 96 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.004913, allocations: 437.9 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.004914, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.004928, allocations: 15.98 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00493, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.004936, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.004937, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004938, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.257e-05/0.004991, allocations: 69.95 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.005013, allocations: 15.88 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.005024, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.005034, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.005046, allocations: 11.94 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.005048, allocations: 32 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.005105, allocations: 126.7 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005106, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001322/0.005238, allocations: 11.94 kB / 0.9544 GB, free: 15.16 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.0002321/0.00547, allocations: 0.6054 MB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.113e-05/0.005551, allocations: 19.94 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.005553, allocations: 0 / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-06/0.005561, allocations: 12.2 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.005686, allocations: 14.56 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.0008644/0.00655, allocations: 1.333 MB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.006596, allocations: 79.27 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.006625, allocations: 8.484 kB / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.006669, allocations: 28.5 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 6.52e-07/0.00667, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.02512, allocations: 2.24 MB / 0.9587 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/6.691, allocations: 9 kB / 0.9587 GB, free: 10.81 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_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_From_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.761165619827807]