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.00143/0.001431, allocations: 103.7 kB / 16.41 MB, free: 6.5 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.001474/0.001474, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.42/2.42, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 72.08 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8381, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001795/0.8399, allocations: 0.8279 MB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.84, allocations: 40.55 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.8401, allocations: 1.75 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.8401, allocations: 9.703 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.8402, allocations: 6.141 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.808e-05/0.8403, allocations: 21.38 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.8404, allocations: 66.77 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.8405, allocations: 42.16 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/0.8406, allocations: 26.78 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.8406, allocations: 35.3 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.8407, allocations: 5.156 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.8407, allocations: 6.125 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.8407, allocations: 17.03 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.8407, allocations: 36.52 kB / 1.09 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.8408, allocations: 71.88 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.8408, allocations: 0 / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8409, allocations: 0 / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.8409, allocations: 1.031 kB / 1.09 GB, free: 4.758 MB / 0.8575 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.0003071/0.8412, allocations: 382.2 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.8412, allocations: 9.344 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.8412, allocations: 13.72 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.8414, allocations: 191.9 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.8414, allocations: 4.141 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.8414, allocations: 9.875 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.8416, allocations: 91.06 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8416, allocations: 192 / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.8416, allocations: 9.188 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.8416, allocations: 2.312 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.8417, allocations: 39.81 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.8421, allocations: 433.2 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.8422, allocations: 50.34 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.8422, allocations: 19.67 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.8422, allocations: 1.641 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.8422, allocations: 35.62 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8422, allocations: 1.125 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.8424, allocations: 56.33 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.8424, allocations: 87.11 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.8426, allocations: 158.7 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/0.8426, allocations: 26.8 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.8426, allocations: 103.6 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.8426, allocations: 5.578 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.8427, allocations: 18.3 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.8427, allocations: 320.4 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.8427, allocations: 3.703 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.8428, allocations: 24.47 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.8428, allocations: 22.8 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8428, allocations: 3.938 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.308e-05/0.8429, allocations: 61.44 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8429, allocations: 8.188 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8429, allocations: 4.75 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.8429, allocations: 5.328 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.843, allocations: 6.641 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.843, allocations: 0.7969 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.843, allocations: 10.12 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.843, allocations: 2.062 kB / 1.092 GB, free: 2.688 MB / 0.8575 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.045e-05/0.8431, allocations: 117.7 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.8431, allocations: 9 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.8432, allocations: 16.09 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.8432, allocations: 5.062 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8432, allocations: 1.125 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8432, allocations: 0.7031 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.8435, allocations: 467.2 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8435, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.8435, allocations: 3.969 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.8435, allocations: 0.5156 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.8435, allocations: 5.281 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8435, allocations: 6.125 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8435, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.237e-05/0.8436, allocations: 80.39 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.8436, allocations: 91.39 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.8437, allocations: 1.859 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.8437, allocations: 3.938 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.8437, allocations: 9.844 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.8437, allocations: 1.219 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.746e-05/0.8438, allocations: 120.6 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8438, allocations: 1.094 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001867/0.844, allocations: 6.531 kB / 1.093 GB, free: 1.77 MB / 0.8575 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 7.716e-05/0.8441, allocations: 101.7 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.8441, allocations: 20.36 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8442, allocations: 4.125 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.8442, allocations: 8.641 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.8443, allocations: 13.61 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.8446, allocations: 188.2 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.481e-05/0.8447, allocations: 0.6919 MB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.8447, allocations: 15.88 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8447, allocations: 0 / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of Templates: time 0.002291/0.847, allocations: 0.8655 MB / 1.095 GB, free: 0.6875 MB / 0.8575 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/jenkins1/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