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.00103/0.00103, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007912/0.007912, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.681/2.681, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 19.94 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8406, allocations: 142.4 MB / 0.955 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001315/0.8419, allocations: 0.5377 MB / 0.9556 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002185/0.8422, allocations: 40.25 kB / 0.9556 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.8423, allocations: 10.12 kB / 0.9556 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.8424, allocations: 0 / 0.9556 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.8425, allocations: 4.969 kB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.395e-05/0.8426, allocations: 19.23 kB / 0.9556 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.8427, allocations: 58.88 kB / 0.9557 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.8429, allocations: 42.58 kB / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.843, allocations: 13.91 kB / 0.9558 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.8431, allocations: 23.27 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.8431, allocations: 2.25 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.8431, allocations: 1.031 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.8432, allocations: 7.219 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.8432, allocations: 53.75 kB / 0.9558 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.8434, allocations: 66.97 kB / 0.9559 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8434, allocations: 0 / 0.9559 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.328e-06/0.8434, allocations: 1.156 kB / 0.9559 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.8434, allocations: 7.938 kB / 0.9559 GB, free: 6.891 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.0004927/0.8439, allocations: 367.4 kB / 0.9563 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.844, allocations: 8.531 kB / 0.9563 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.844, allocations: 13.59 kB / 0.9563 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.8443, allocations: 187.2 kB / 0.9565 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.8443, allocations: 6.844 kB / 0.9565 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.8443, allocations: 5.094 kB / 0.9565 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.8446, allocations: 99.36 kB / 0.9566 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.8446, allocations: 192 / 0.9566 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.8446, allocations: 8.953 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.8446, allocations: 2.25 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.826e-05/0.8447, allocations: 36.2 kB / 0.9566 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/0.8454, allocations: 441.8 kB / 0.957 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.8455, allocations: 37.5 kB / 0.9571 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.8455, allocations: 23.03 kB / 0.9571 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.8455, allocations: 5.172 kB / 0.9571 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.8456, allocations: 43.73 kB / 0.9571 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.8456, allocations: 0 / 0.9571 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.8458, allocations: 58.45 kB / 0.9572 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.8459, allocations: 78.3 kB / 0.9573 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.846, allocations: 164.3 kB / 0.9574 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.8461, allocations: 25.7 kB / 0.9574 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.8461, allocations: 107.9 kB / 0.9575 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.8461, allocations: 9.656 kB / 0.9576 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.8462, allocations: 15.75 kB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.8463, allocations: 320.2 kB / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.8463, allocations: 3.594 kB / 0.9579 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.8463, allocations: 18.09 kB / 0.9579 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.8464, allocations: 30.73 kB / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8464, allocations: 0 / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.767e-05/0.8465, allocations: 59.05 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.8465, allocations: 5.656 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8465, allocations: 5.344 kB / 0.958 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.8465, allocations: 3.938 kB / 0.958 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.8466, allocations: 9.609 kB / 0.958 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.8466, allocations: 1.188 kB / 0.958 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.8467, allocations: 6 kB / 0.958 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.8467, allocations: 1.094 kB / 0.958 GB, free: 4.73 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.476e-05/0.8467, allocations: 118.2 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.8468, allocations: 7.469 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.8468, allocations: 14.19 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8468, allocations: 1.25 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8469, allocations: 4.922 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8469, allocations: 1 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.8472, allocations: 465.9 kB / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.8472, allocations: 4.906 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.8472, allocations: 2.344 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8472, allocations: 0.8438 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.8472, allocations: 1.406 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8473, allocations: 1.5 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8473, allocations: 0 / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.97e-05/0.8473, allocations: 90.23 kB / 0.9587 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.8474, allocations: 88.11 kB / 0.9588 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.8474, allocations: 0.9688 kB / 0.9588 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.8474, allocations: 1 kB / 0.9588 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.8475, allocations: 5.516 kB / 0.9588 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.8475, allocations: 4.875 kB / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.8476, allocations: 123 kB / 0.9589 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8476, allocations: 1.031 kB / 0.9589 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002/0.8478, allocations: 6.688 kB / 0.9589 GB, free: 3.785 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.000152/0.8479, allocations: 104.4 kB / 0.959 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.848, allocations: 18.97 kB / 0.959 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.848, allocations: 0 / 0.959 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.8481, allocations: 4.125 kB / 0.959 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.8482, allocations: 11.91 kB / 0.9591 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.8486, allocations: 186.5 kB / 0.9592 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.8487, allocations: 0.6949 MB / 0.9599 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.8488, allocations: 12.55 kB / 0.9599 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.8488, allocations: 12.47 kB / 0.9599 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.8488, allocations: 0 / 0.9599 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.002914/0.8517, allocations: 427.4 kB / 0.9603 GB, free: 2.551 MB / 0.7169 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