Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.000767/0.000767, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0008451/0.0008451, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9052/0.9052, 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 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.703/1.703, allocations: 359 MB / 0.6037 GB, free: 11.1 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_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.37e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001555/0.001579, allocations: 0.7907 MB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.001693, allocations: 39.84 kB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.00174, allocations: 4 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.001777, allocations: 11.86 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.001858, allocations: 11.86 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.221e-05/0.0019, allocations: 19.98 kB / 0.9514 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.002, allocations: 63.78 kB / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.00213, allocations: 35.95 kB / 0.9515 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.002214, allocations: 35.91 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.002254, allocations: 15.92 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.002275, allocations: 4 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.002283, allocations: 12 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.002302, allocations: 19.91 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.002327, allocations: 11.94 kB / 0.9516 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.00243, allocations: 79.69 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.002433, allocations: 0 / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.383e-06/0.002434, allocations: 3.938 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.002439, allocations: 0 / 0.9516 GB, free: 2.34 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.0003547/0.002793, allocations: 305.9 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.002833, allocations: 12.03 kB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.002865, allocations: 38.73 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.002888, allocations: 12.84 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.003043, allocations: 137.6 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.003055, allocations: 8.375 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.003065, allocations: 4.375 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.003204, allocations: 98.08 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.003213, allocations: 4.172 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.003224, allocations: 4.375 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.003231, allocations: 8.125 kB / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.003289, allocations: 31.98 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.003696, allocations: 399.7 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.814e-05/0.003744, allocations: 37.16 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.003774, allocations: 21.92 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.003784, allocations: 7.938 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.003803, allocations: 34.55 kB / 0.9527 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.003804, allocations: 0 / 0.9527 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.003943, allocations: 49.59 kB / 0.9528 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.003979, allocations: 85.05 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.004086, allocations: 160.8 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004095, allocations: 29.95 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.004157, allocations: 104.1 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.004164, allocations: 3.953 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.00419, allocations: 17.67 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.004267, allocations: 326.8 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.004283, allocations: 8 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.004299, allocations: 17.7 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.004338, allocations: 29.66 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00434, allocations: 0 / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.979e-05/0.0044, allocations: 61.64 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.004411, allocations: 4 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.004416, allocations: 0 / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.00443, allocations: 4 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.004481, allocations: 11.88 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.004485, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.004504, allocations: 11.94 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.004508, allocations: 0 / 0.9536 GB, free: 64 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.415e-05/0.004572, allocations: 117.8 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.004593, allocations: 8.016 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.004613, allocations: 15.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004615, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.00462, allocations: 3.938 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004623, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.004881, allocations: 441.9 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.004883, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-06/0.004891, allocations: 3.938 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.004892, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.004898, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.004899, allocations: 64 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004899, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.035e-05/0.00497, allocations: 81.88 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.004988, allocations: 11.89 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.004999, allocations: 3.984 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-06/0.005008, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.005022, allocations: 8 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.005024, allocations: 4 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.00508, allocations: 122.5 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00508, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001239/0.005204, allocations: 4 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.0002203/0.005424, allocations: 0.6171 MB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.918e-05/0.005493, allocations: 15.94 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.005496, allocations: 4 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.834e-06/0.005504, allocations: 11.94 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.005621, allocations: 9.656 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.006494, allocations: 1.341 MB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.628e-05/0.006541, allocations: 79.27 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.006566, allocations: 8.484 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.006606, allocations: 24.5 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.006607, allocations: 0 / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02167, allocations: 2.242 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/6.687, allocations: 3.938 kB / 0.9587 GB, free: 10.8 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.751873707398772]