Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001118/0.001118, allocations: 101.8 kB / 16.35 MB, free: 5.875 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.001164/0.001164, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.41 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002218/0.3185, allocations: 0.8394 MB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.3187, allocations: 47.72 kB / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.3187, allocations: 4 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.3188, allocations: 11.86 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.3189, allocations: 7.875 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.697e-05/0.3189, allocations: 19.98 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.319, allocations: 59.84 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3192, allocations: 51.94 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.3192, allocations: 23.81 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.3193, allocations: 27.84 kB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3193, allocations: 8 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.3194, allocations: 4 kB / 1.028 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.3194, allocations: 15.94 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.3194, allocations: 39.73 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3195, allocations: 75.7 kB / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3196, allocations: 0 / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3196, allocations: 0 / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3196, allocations: 0 / 1.028 GB, free: 0.8359 MB / 0.795 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.000444/0.32, allocations: 379.2 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3201, allocations: 12.03 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3201, allocations: 8.844 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3203, allocations: 184.2 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3203, allocations: 8.281 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.3204, allocations: 12.38 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3205, allocations: 99.88 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3206, allocations: 192 / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3206, allocations: 7.922 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3206, allocations: 4 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.3207, allocations: 35.98 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.3213, allocations: 440.5 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.385e-05/0.3214, allocations: 37.28 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.042e-05/0.3214, allocations: 17.8 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.3214, allocations: 3.938 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3215, allocations: 38.56 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3215, allocations: 4 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000187/0.3217, allocations: 53.48 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.3217, allocations: 77.11 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3219, allocations: 165.5 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3219, allocations: 25.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.322, allocations: 108.2 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.322, allocations: 15.84 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.3221, allocations: 13.72 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3222, allocations: 322.8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.3222, allocations: 4 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.3223, allocations: 25.7 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.3223, allocations: 29.66 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3223, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.698e-05/0.3224, allocations: 57.61 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3224, allocations: 10.33 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3224, allocations: 3.938 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3225, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.3225, allocations: 11.94 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3225, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.3226, allocations: 11.84 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3226, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 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 9.328e-05/0.3227, allocations: 121.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.3227, allocations: 7.906 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.3228, allocations: 19.8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3228, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3228, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3228, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.3233, allocations: 470.8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3233, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.3234, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3234, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3234, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3234, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3234, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.3235, allocations: 85.83 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.3236, allocations: 89 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3236, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.3236, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.3236, allocations: 4 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3236, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3238, allocations: 125.2 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3238, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000184/0.324, allocations: 4 kB / 1.031 GB, free: 13.36 MB / 0.8106 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.0001383/0.3241, allocations: 103.3 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.182e-05/0.3242, allocations: 15.94 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3242, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.3242, allocations: 11.98 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.3244, allocations: 13.25 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.3248, allocations: 170.3 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3251, allocations: 0.6963 MB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.3252, allocations: 4.438 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.3252, allocations: 11.44 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3252, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.002597/0.3278, allocations: 460.5 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches