Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7323, allocations: 140.4 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002217/0.7345, allocations: 0.8812 MB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001071/0.7347, allocations: 41.22 kB / 0.9505 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.7347, allocations: 1.406 kB / 0.9505 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.192e-05/0.7348, allocations: 7.875 kB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.7349, allocations: 9.359 kB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.511e-05/0.7349, allocations: 14.78 kB / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.735, allocations: 52.06 kB / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.7352, allocations: 46.39 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.7353, allocations: 27.7 kB / 0.9506 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.7353, allocations: 28.05 kB / 0.9507 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.7353, allocations: 9.344 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.7354, allocations: 3.406 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.7354, allocations: 13.77 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.7354, allocations: 26.06 kB / 0.9507 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.797e-05/0.7355, allocations: 60.83 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7355, allocations: 0 / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7355, allocations: 0 / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.7355, allocations: 1.406 kB / 0.9508 GB, free: 8.328 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.0004493/0.736, allocations: 378.3 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.736, allocations: 12.72 kB / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.7361, allocations: 9.156 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.7363, allocations: 195.3 kB / 0.9513 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.7363, allocations: 11.06 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.7363, allocations: 5.875 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.7365, allocations: 88.61 kB / 0.9514 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7365, allocations: 4.125 kB / 0.9514 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7365, allocations: 5.312 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.7365, allocations: 6.75 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.7366, allocations: 35.23 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.7371, allocations: 432.6 kB / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/0.7372, allocations: 45.27 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.7372, allocations: 20.59 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.7373, allocations: 0 / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.7373, allocations: 35.88 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.7373, allocations: 0 / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.7375, allocations: 55.53 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.7375, allocations: 85.05 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.7376, allocations: 163.6 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.7376, allocations: 27.08 kB / 0.9523 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.7377, allocations: 104 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.7377, allocations: 13.25 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.7378, allocations: 16.47 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.7378, allocations: 317.6 kB / 0.9527 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.7378, allocations: 10.73 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.7379, allocations: 19.22 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.7379, allocations: 25.97 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7379, allocations: 5.312 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.943e-05/0.738, allocations: 54.09 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.738, allocations: 6.812 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.738, allocations: 5.625 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.738, allocations: 7.984 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.7381, allocations: 6.5 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.7381, allocations: 3.938 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.7381, allocations: 2.281 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.7382, allocations: 8.906 kB / 0.9529 GB, free: 6.156 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 6.236e-05/0.7382, allocations: 113.7 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.7383, allocations: 12.45 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.7383, allocations: 18.97 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7383, allocations: 4 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7383, allocations: 1.688 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.7383, allocations: 0 / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.7386, allocations: 474 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7386, allocations: 1.031 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.7386, allocations: 3.812 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.7386, allocations: 0 / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.7387, allocations: 5.672 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7387, allocations: 4 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7387, allocations: 1.625 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.28e-05/0.7388, allocations: 76.94 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.7388, allocations: 97.31 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.7388, allocations: 0 / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.7388, allocations: 1.312 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.7389, allocations: 5.438 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.7389, allocations: 1.469 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.132e-05/0.7389, allocations: 120.2 kB / 0.9538 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.739, allocations: 0 / 0.9538 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001932/0.7392, allocations: 7.75 kB / 0.9538 GB, free: 5.207 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 0.000109/0.7393, allocations: 96.5 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.7394, allocations: 22.42 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7394, allocations: 4.125 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.7394, allocations: 8.625 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.7395, allocations: 10.47 kB / 0.9539 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.7398, allocations: 205 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.74, allocations: 0.6957 MB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.74, allocations: 10.47 kB / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.74, allocations: 0 / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of Templates: time 0.002188/0.7422, allocations: 0.8598 MB / 0.9557 GB, free: 3.73 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches