Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001668/0.001668, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.8 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.335, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002253/0.3373, allocations: 0.8841 MB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000133/0.3374, allocations: 39.78 kB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.3375, allocations: 4 kB / 1.053 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.88e-05/0.3376, allocations: 3.938 kB / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.871e-05/0.3376, allocations: 3.984 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.967e-05/0.3377, allocations: 16 kB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.3378, allocations: 71.69 kB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3379, allocations: 39.95 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.338, allocations: 23.86 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.3381, allocations: 35.8 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.3381, allocations: 4 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.3381, allocations: 4 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.3381, allocations: 11.92 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.3382, allocations: 35.69 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.3383, allocations: 72.03 kB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3383, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3383, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3383, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 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.0004513/0.3387, allocations: 375.3 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3388, allocations: 12.03 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3388, allocations: 8.844 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3391, allocations: 192.2 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3391, allocations: 12.38 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3391, allocations: 4.375 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3393, allocations: 95.8 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3393, allocations: 8.109 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3393, allocations: 7.938 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.3393, allocations: 4 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.3394, allocations: 39.92 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.34, allocations: 436.6 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.34, allocations: 45.25 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.3401, allocations: 25.78 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3401, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3401, allocations: 30.56 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3401, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000183/0.3403, allocations: 61.72 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3404, allocations: 81.11 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3405, allocations: 161.1 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.3406, allocations: 25.7 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.3406, allocations: 104 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.3406, allocations: 3.906 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3407, allocations: 17.72 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3408, allocations: 322.8 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.3408, allocations: 8 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.3408, allocations: 17.72 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.3409, allocations: 29.66 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3409, allocations: 0 / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.615e-05/0.341, allocations: 57.53 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.341, allocations: 9.562 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.341, allocations: 11.94 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.341, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.3411, allocations: 4 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3411, allocations: 7.984 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.3412, allocations: 7.844 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.3412, allocations: 4 kB / 1.055 GB, free: 5.164 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 7.219e-05/0.3413, allocations: 109.8 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.3413, allocations: 11.91 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.3413, allocations: 11.81 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3413, allocations: 4 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3414, allocations: 4 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3414, allocations: 3.938 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.3418, allocations: 474.8 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3418, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.3418, allocations: 4 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.3418, allocations: 0 / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.3418, allocations: 4.062 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3418, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3418, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.475e-05/0.3419, allocations: 85.77 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.342, allocations: 81.02 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.342, allocations: 12 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.342, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.3421, allocations: 4.031 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3421, allocations: 3.984 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.221e-05/0.3422, allocations: 115.3 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 0 / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001903/0.3424, allocations: 8 kB / 1.056 GB, free: 4.133 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.0001236/0.3425, allocations: 99.23 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.513e-05/0.3426, allocations: 20 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3426, allocations: 4.062 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.3426, allocations: 8 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.3428, allocations: 7.938 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.3432, allocations: 192.5 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.3434, allocations: 0.6926 MB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.3435, allocations: 12.5 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3435, allocations: 11.44 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3435, allocations: 0 / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of Templates: time 0.002647/0.3462, allocations: 428.5 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches