Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01312/0.01312, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.002248/0.002248, allocations: 197.8 kB / 16.68 MB, free: 5.965 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.336 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 2.766/2.766, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 1.019 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3665, allocations: 151.6 MB / 1.167 GB, free: 6.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002103/0.3686, allocations: 0.8179 MB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001541/0.3688, allocations: 43.8 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.3689, allocations: 7.938 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.3689, allocations: 7.875 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.241e-05/0.369, allocations: 11.86 kB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.426e-05/0.3691, allocations: 23.97 kB / 1.168 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.3692, allocations: 51.91 kB / 1.168 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3694, allocations: 47.98 kB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.3695, allocations: 31.73 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.3695, allocations: 31.8 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3696, allocations: 4 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.3696, allocations: 8 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.3696, allocations: 11.92 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.3697, allocations: 35.8 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3698, allocations: 79.52 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3698, allocations: 0 / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3698, allocations: 8 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.3699, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 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.0005233/0.3704, allocations: 375.1 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3704, allocations: 12.03 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3705, allocations: 12.84 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.3707, allocations: 200.2 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3707, allocations: 4.375 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.3708, allocations: 12.31 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.371, allocations: 97.77 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.371, allocations: 192 / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.371, allocations: 3.938 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.371, allocations: 4 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.3711, allocations: 39.92 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.3716, allocations: 436.7 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.681e-05/0.3717, allocations: 37.22 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.3718, allocations: 21.81 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.3718, allocations: 0 / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3718, allocations: 34.56 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/0.3718, allocations: 7.984 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.372, allocations: 57.52 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.372, allocations: 77.11 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3722, allocations: 161.7 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3722, allocations: 25.7 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.3723, allocations: 100.1 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.3723, allocations: 15.89 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.3723, allocations: 17.97 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3725, allocations: 318.8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.3725, allocations: 8 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.3725, allocations: 13.72 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.3726, allocations: 29.66 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3726, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.122e-05/0.3727, allocations: 73.53 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3727, allocations: 7.938 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3727, allocations: 3.938 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3727, allocations: 4 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.3728, allocations: 4 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3728, allocations: 0 / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.3728, allocations: 4 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.3728, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 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 8.329e-05/0.3729, allocations: 121.9 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.373, allocations: 7.953 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.373, allocations: 15.81 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.373, allocations: 3.938 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.373, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.373, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.3734, allocations: 474.7 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3734, allocations: 4.062 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.3734, allocations: 7.984 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3735, allocations: 0 / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3735, allocations: 4 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3735, allocations: 0 / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3735, allocations: 0 / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.514e-05/0.3736, allocations: 77.83 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.3736, allocations: 97.08 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.3736, allocations: 0 / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.3737, allocations: 0 / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.3737, allocations: 4 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.3737, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.118e-05/0.3738, allocations: 121.1 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3738, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001914/0.374, allocations: 11.94 kB / 1.171 GB, free: 2.242 MB / 0.92 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.0001275/0.3741, allocations: 103.2 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3742, allocations: 23.94 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3742, allocations: 4 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.3743, allocations: 4 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.3745, allocations: 11.94 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.3749, allocations: 162.5 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3753, allocations: 0.6931 MB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.3753, allocations: 8.422 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.3753, allocations: 11.44 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3753, allocations: 0 / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of Templates: time 0.002726/0.3781, allocations: 467.5 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches