Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01129/0.01128, allocations: 99.11 kB / 15.73 MB, free: 6.051 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.001664/0.001665, allocations: 202.4 kB / 16.68 MB, free: 5.965 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60.62 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002208/0.3388, allocations: 0.8174 MB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.3389, allocations: 51.78 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.339, allocations: 0 / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.339, allocations: 7.875 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.496e-05/0.3391, allocations: 11.86 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.379e-05/0.3392, allocations: 15.98 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.3393, allocations: 63.84 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3394, allocations: 39.97 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.3395, allocations: 27.86 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.3396, allocations: 31.78 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3396, allocations: 8 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.3396, allocations: 4 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.3397, allocations: 23.92 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.3397, allocations: 31.75 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3398, allocations: 79.56 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3398, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3399, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3399, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 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.0004557/0.3403, allocations: 379.1 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3404, allocations: 8.031 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.3404, allocations: 16.81 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3406, allocations: 200.2 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.681e-05/0.3407, allocations: 4.375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3408, allocations: 8.375 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.3409, allocations: 87.89 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.341, allocations: 192 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.341, allocations: 11.94 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.341, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.3411, allocations: 39.97 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.3417, allocations: 436.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.3417, allocations: 33.16 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.3418, allocations: 21.84 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3418, allocations: 4 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3418, allocations: 34.59 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3418, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.342, allocations: 61.52 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3421, allocations: 81.11 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3422, allocations: 155.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3423, allocations: 25.95 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.3424, allocations: 112 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3424, allocations: 11.88 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.3424, allocations: 17.72 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3425, allocations: 322.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.3426, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.3426, allocations: 29.64 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.3427, allocations: 33.64 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3427, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.845e-05/0.3428, allocations: 53.66 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3428, allocations: 8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3428, allocations: 3.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3428, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.3429, allocations: 11.92 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3429, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.3429, allocations: 8.016 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3429, allocations: 4 kB / 1.091 GB, free: 13.82 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 8.73e-05/0.343, allocations: 109.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.3431, allocations: 7.953 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.3431, allocations: 15.81 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3431, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3431, allocations: 7.984 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3431, allocations: 3.938 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.3435, allocations: 470.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3435, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.3436, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3436, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3436, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3436, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3436, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.61e-05/0.3437, allocations: 89.88 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.3438, allocations: 85.06 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3438, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.3438, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.3438, allocations: 3.984 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3438, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.655e-05/0.3439, allocations: 124.9 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3439, allocations: 4.031 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001855/0.3441, allocations: 15.89 kB / 1.092 GB, free: 12.78 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 0.0001245/0.3443, allocations: 95.78 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.789e-05/0.3443, allocations: 19.94 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3444, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.3444, allocations: 7.938 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.3445, allocations: 11.94 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.3449, allocations: 167 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3452, allocations: 0.6929 MB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.3452, allocations: 8.422 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.3452, allocations: 11.44 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3453, allocations: 3.938 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.002511/0.3478, allocations: 472 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches