Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001634, allocations: 101.3 kB / 16.4 MB, free: 6.453 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.001991/0.001991, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002569, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9425/0.9451, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002158/0.9473, allocations: 0.833 MB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.9474, allocations: 39.8 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.9475, allocations: 0 / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.9476, allocations: 11.86 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.9477, allocations: 11.88 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.626e-05/0.9477, allocations: 15.98 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.9478, allocations: 67.83 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.948, allocations: 43.97 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.9481, allocations: 19.94 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.9482, allocations: 35.72 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.9482, allocations: 8 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.9482, allocations: 4 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.9482, allocations: 19.94 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.9483, allocations: 27.8 kB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.9484, allocations: 75.7 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9484, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9484, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.9484, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 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.0004598/0.9489, allocations: 384.8 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.9489, allocations: 12.86 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.949, allocations: 8.844 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.9492, allocations: 200.1 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.9493, allocations: 8.375 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.9493, allocations: 4.375 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.9494, allocations: 98.31 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.9495, allocations: 192 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.9495, allocations: 11.94 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9495, allocations: 3.938 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.9496, allocations: 31.98 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.9501, allocations: 444.5 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.9502, allocations: 37.16 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.9503, allocations: 29.83 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/0.9503, allocations: 8.031 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.9503, allocations: 30.56 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.9503, allocations: 0 / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.9505, allocations: 53.48 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.9505, allocations: 81.11 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.9507, allocations: 162 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.9507, allocations: 29.7 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.9508, allocations: 108 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.9508, allocations: 3.906 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.9509, allocations: 17.7 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.951, allocations: 318.8 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.951, allocations: 4 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.951, allocations: 25.7 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.9511, allocations: 29.66 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9511, allocations: 0 / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.524e-05/0.9512, allocations: 53.59 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9512, allocations: 10.5 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9512, allocations: 3.938 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.9512, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.9513, allocations: 11.94 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.9513, allocations: 4 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.9514, allocations: 7.969 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.9514, allocations: 7.938 kB / 1.171 GB, free: 188 kB / 0.8887 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.376e-05/0.9515, allocations: 109.8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.9515, allocations: 7.906 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.9516, allocations: 15.89 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9516, allocations: 3.984 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9516, allocations: 4 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9516, allocations: 0 / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.952, allocations: 474.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.952, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.952, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.952, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.9521, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9521, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.9521, allocations: 3.938 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.568e-05/0.9522, allocations: 89.83 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.9522, allocations: 92.94 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.9522, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.9523, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.9523, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.9523, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.969e-05/0.9524, allocations: 119.3 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9524, allocations: 4 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001948/0.9526, allocations: 15.91 kB / 1.172 GB, free: 15.13 MB / 0.9044 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.0001181/0.9527, allocations: 95.25 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.9528, allocations: 23.92 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9528, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.9529, allocations: 4 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.953, allocations: 12.19 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.9534, allocations: 188.5 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.9536, allocations: 0.6962 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.9537, allocations: 15.44 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.9537, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.002312/0.956, allocations: 0.8677 MB / 1.173 GB, free: 13.16 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches