Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 191.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.578/2.578, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.12 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8221, allocations: 140.4 MB / 0.9489 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001902/0.824, allocations: 0.8778 MB / 0.9498 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.267e-05/0.8242, allocations: 41.12 kB / 0.9498 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.8242, allocations: 1.062 kB / 0.9498 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.8243, allocations: 7.922 kB / 0.9498 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/0.8244, allocations: 5 kB / 0.9498 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.549e-05/0.8244, allocations: 19.2 kB / 0.9499 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.772e-05/0.8245, allocations: 55.39 kB / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.8246, allocations: 39 kB / 0.9499 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.8247, allocations: 27.55 kB / 0.95 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.8248, allocations: 37.45 kB / 0.95 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.8248, allocations: 3.969 kB / 0.95 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.8248, allocations: 3.812 kB / 0.95 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.8248, allocations: 10.38 kB / 0.95 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.8249, allocations: 34.42 kB / 0.9501 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.663e-05/0.825, allocations: 61.92 kB / 0.9501 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.825, allocations: 1.094 kB / 0.9501 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.825, allocations: 0 / 0.9501 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.825, allocations: 0 / 0.9501 GB, free: 8.48 MB / 0.7169 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.0003442/0.8253, allocations: 386.9 kB / 0.9505 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8254, allocations: 9.438 kB / 0.9505 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.8254, allocations: 9.438 kB / 0.9505 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.8256, allocations: 194 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.8256, allocations: 8.5 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.8256, allocations: 9.312 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.8258, allocations: 98.84 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8258, allocations: 192 / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.8258, allocations: 3.938 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.8258, allocations: 10.47 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.8259, allocations: 35.95 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.8263, allocations: 432.6 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.337e-05/0.8264, allocations: 40.69 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.8264, allocations: 15.66 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.8264, allocations: 0.7812 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.8265, allocations: 43.86 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8265, allocations: 1.562 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.8266, allocations: 57.92 kB / 0.9514 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.8267, allocations: 78.58 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.8268, allocations: 162.9 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.8268, allocations: 25.7 kB / 0.9517 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.8268, allocations: 108.2 kB / 0.9518 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.8269, allocations: 5.219 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.8269, allocations: 17.91 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.8269, allocations: 320.5 kB / 0.9521 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.827, allocations: 12.28 kB / 0.9521 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.827, allocations: 21.86 kB / 0.9521 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.827, allocations: 26.25 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.827, allocations: 1.562 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.017e-05/0.8271, allocations: 53.77 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.8271, allocations: 9.688 kB / 0.9522 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8271, allocations: 5.156 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.8271, allocations: 3.984 kB / 0.9522 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.8272, allocations: 9.938 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.8272, allocations: 1.406 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.8272, allocations: 1.438 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.8273, allocations: 1.375 kB / 0.9522 GB, free: 6.309 MB / 0.7169 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 5.512e-05/0.8273, allocations: 114.2 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.8274, allocations: 7.812 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.8274, allocations: 21.86 kB / 0.9524 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8274, allocations: 5.516 kB / 0.9524 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8274, allocations: 1.875 kB / 0.9524 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.8274, allocations: 0 / 0.9524 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.8277, allocations: 474 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8277, allocations: 7.875 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.8277, allocations: 2.969 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8277, allocations: 5.375 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.8277, allocations: 1.156 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8277, allocations: 0 / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8278, allocations: 1.188 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.666e-05/0.8278, allocations: 87.2 kB / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.8279, allocations: 87.77 kB / 0.953 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.8279, allocations: 3.984 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.8279, allocations: 5.344 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.8279, allocations: 1.344 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.8279, allocations: 1.656 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.828, allocations: 124 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.828, allocations: 1.5 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001802/0.8282, allocations: 6.719 kB / 0.9532 GB, free: 5.348 MB / 0.7169 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 9.49e-05/0.8283, allocations: 95.75 kB / 0.9533 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.37e-05/0.8284, allocations: 22.94 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8284, allocations: 0 / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.8284, allocations: 4.125 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.8286, allocations: 17.31 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.8288, allocations: 177.9 kB / 0.9535 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.8289, allocations: 0.6956 MB / 0.9541 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.829, allocations: 8.547 kB / 0.9542 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.829, allocations: 10.19 kB / 0.9542 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.829, allocations: 4 kB / 0.9542 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.002149/0.8312, allocations: 431.7 kB / 0.9546 GB, free: 4.125 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches