Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001867/0.001867, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002111/0.002111, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.55/1.55, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.002/3.002, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 67.88 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.741, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002314/0.7434, allocations: 0.8858 MB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001216/0.7435, allocations: 39.78 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.7436, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.374e-05/0.7437, allocations: 15.92 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.18e-05/0.7438, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.271e-05/0.7438, allocations: 19.98 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.744, allocations: 51.8 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.7441, allocations: 51.94 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.7442, allocations: 19.88 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.7443, allocations: 27.84 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.7443, allocations: 7.938 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.7443, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.7443, allocations: 8 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.7444, allocations: 35.73 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.7445, allocations: 73.67 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7445, allocations: 0 / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.82e-07/0.7445, allocations: 0 / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7446, allocations: 0 / 1.018 GB, free: 1.496 MB / 0.7637 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.0005661/0.7451, allocations: 391.1 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.7452, allocations: 8.031 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.7452, allocations: 8.844 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.7455, allocations: 196.1 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.7455, allocations: 4.375 kB / 1.018 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.7455, allocations: 8.375 kB / 1.018 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.7458, allocations: 106 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7458, allocations: 192 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.7458, allocations: 3.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.7458, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.7459, allocations: 39.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.7465, allocations: 424.7 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.863e-05/0.7466, allocations: 41.22 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.7467, allocations: 25.8 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.7467, allocations: 4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.7467, allocations: 30.56 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7467, allocations: 4 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002297/0.747, allocations: 57.39 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.747, allocations: 77.11 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.7472, allocations: 164.3 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.7473, allocations: 25.7 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.7474, allocations: 112 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-06/0.7474, allocations: 3.906 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.7474, allocations: 21.97 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.7476, allocations: 318.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.7476, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.7477, allocations: 21.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.7477, allocations: 29.66 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7477, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.277e-05/0.7478, allocations: 65.53 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.7478, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.7479, allocations: 7.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7479, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.748, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.748, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.748, allocations: 7.906 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.748, allocations: 3.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 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 0.0001008/0.7481, allocations: 118.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.7482, allocations: 7.906 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.7482, allocations: 19.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7482, allocations: 3.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.7482, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.7482, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.7487, allocations: 466.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7487, allocations: 4.062 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.7487, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/0.7488, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.7488, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7488, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7488, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.787e-05/0.7489, allocations: 81.77 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.749, allocations: 96.97 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.749, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.749, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.749, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.749, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001146/0.7492, allocations: 120.9 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7492, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001905/0.7494, allocations: 8 kB / 1.021 GB, free: 14.01 MB / 0.7794 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.0001533/0.7495, allocations: 99.34 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.7496, allocations: 19.94 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7496, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.7497, allocations: 7.984 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.7498, allocations: 11.94 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.7502, allocations: 190.2 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.7506, allocations: 0.6965 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.7506, allocations: 4.438 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.7506, allocations: 11.44 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7506, allocations: 4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of Templates: time 0.00307/0.7537, allocations: 428.5 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches