Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 106.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8397/0.8416, allocations: 160.7 MB / 1.213 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002832/0.8445, allocations: 0.8284 MB / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001817/0.8447, allocations: 41.44 kB / 1.214 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.8447, allocations: 5.125 kB / 1.214 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.874e-05/0.8448, allocations: 8.906 kB / 1.214 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.8449, allocations: 16.7 kB / 1.214 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.156e-05/0.8449, allocations: 15.52 kB / 1.214 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.8451, allocations: 63.12 kB / 1.214 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.8452, allocations: 34.09 kB / 1.214 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.8453, allocations: 32.09 kB / 1.214 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.8454, allocations: 25.86 kB / 1.214 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.8454, allocations: 9.469 kB / 1.214 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.8454, allocations: 6.562 kB / 1.214 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.8455, allocations: 13.83 kB / 1.214 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.8455, allocations: 35.2 kB / 1.214 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.8457, allocations: 79.09 kB / 1.214 GB, free: 3.148 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8457, allocations: 0 / 1.214 GB, free: 3.148 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8457, allocations: 1.156 kB / 1.214 GB, free: 3.148 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.8457, allocations: 0 / 1.214 GB, free: 3.148 MB / 0.92 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.0005296/0.8462, allocations: 381.9 kB / 1.214 GB, free: 2.746 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.8463, allocations: 18.11 kB / 1.214 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.8463, allocations: 38.03 kB / 1.215 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.8464, allocations: 17.25 kB / 1.215 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.8466, allocations: 198.1 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.8466, allocations: 11.58 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.8467, allocations: 5.875 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.8469, allocations: 92.39 kB / 1.215 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.8469, allocations: 3.938 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.8469, allocations: 9.125 kB / 1.215 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.8469, allocations: 1.281 kB / 1.215 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.847, allocations: 35.52 kB / 1.215 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.8476, allocations: 432.8 kB / 1.215 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.8477, allocations: 45.77 kB / 1.215 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.8478, allocations: 23.28 kB / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.8478, allocations: 0 / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.8478, allocations: 31.66 kB / 1.215 GB, free: 1.797 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8478, allocations: 1.062 kB / 1.215 GB, free: 1.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001955/0.848, allocations: 54.28 kB / 1.215 GB, free: 1.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.8481, allocations: 86.44 kB / 1.216 GB, free: 1.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.8483, allocations: 159.7 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.8483, allocations: 25.7 kB / 1.216 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.8484, allocations: 101.2 kB / 1.216 GB, free: 1.391 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.8484, allocations: 13.03 kB / 1.216 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.8484, allocations: 20.77 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.8486, allocations: 317.1 kB / 1.216 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.8486, allocations: 11.33 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.8487, allocations: 19.12 kB / 1.216 GB, free: 1.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.8487, allocations: 26.5 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8487, allocations: 0 / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.8488, allocations: 63 kB / 1.216 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.8489, allocations: 9.531 kB / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.8489, allocations: 5.125 kB / 1.216 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8489, allocations: 4.062 kB / 1.216 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.8489, allocations: 5.781 kB / 1.216 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.849, allocations: 1.062 kB / 1.216 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.849, allocations: 10.12 kB / 1.216 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.849, allocations: 1.188 kB / 1.216 GB, free: 0.918 MB / 0.92 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 0.0001032/0.8491, allocations: 118.3 kB / 1.216 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.8492, allocations: 15.97 kB / 1.216 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.8492, allocations: 7.469 kB / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8492, allocations: 0 / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8492, allocations: 5.344 kB / 1.216 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8492, allocations: 0 / 1.216 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.8497, allocations: 474.3 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8497, allocations: 1.125 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.8497, allocations: 3.094 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8497, allocations: 0 / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.8498, allocations: 0.9688 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.8498, allocations: 9.109 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-05/0.8498, allocations: 5.047 kB / 1.217 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.8499, allocations: 78.42 kB / 1.217 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.85, allocations: 92.45 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.85, allocations: 1.156 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.85, allocations: 0 / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.85, allocations: 9.062 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.85, allocations: 1.094 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001371/0.8502, allocations: 121.5 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8502, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001948/0.8504, allocations: 6.875 kB / 1.217 GB, free: 15.96 MB / 0.9356 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.0004924/0.8508, allocations: 0.6161 MB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.8509, allocations: 17.91 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8509, allocations: 0.8125 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.851, allocations: 11.23 kB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.8511, allocations: 11.72 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.8527, allocations: 1.341 MB / 1.219 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.8531, allocations: 0.691 MB / 1.22 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.8531, allocations: 12.95 kB / 1.22 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.8532, allocations: 22.25 kB / 1.22 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.8532, allocations: 5.094 kB / 1.22 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.8793, allocations: 1.582 MB / 1.221 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/9.172, allocations: 12.61 kB / 1.221 GB, free: 12.46 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.958016761112958]