Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009184/0.009184, allocations: 99.38 kB / 15.73 MB, free: 6.043 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.001805/0.001805, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.428/1.428, 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 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 64.12 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3568, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002024/0.3588, allocations: 0.8376 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001154/0.3589, allocations: 39.8 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.359, allocations: 4 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.359, allocations: 7.875 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.189e-05/0.3591, allocations: 11.86 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.505e-05/0.3592, allocations: 19.97 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.3593, allocations: 67.84 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.3595, allocations: 35.86 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.3596, allocations: 27.86 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.3596, allocations: 23.86 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3597, allocations: 8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.3597, allocations: 4 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.3597, allocations: 23.86 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.3597, allocations: 35.75 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3599, allocations: 75.56 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3599, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3599, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3599, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 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.0005465/0.3604, allocations: 375.2 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3605, allocations: 12.03 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.3605, allocations: 12.84 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3608, allocations: 196.2 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3608, allocations: 4.375 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3608, allocations: 8.375 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.361, allocations: 98.05 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.361, allocations: 192 / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3611, allocations: 7.938 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3611, allocations: 7.938 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3612, allocations: 31.98 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.3618, allocations: 440.6 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.3619, allocations: 41.28 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.3619, allocations: 21.84 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.3619, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.362, allocations: 30.56 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.362, allocations: 7.938 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002127/0.3622, allocations: 61.58 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.3622, allocations: 81.05 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.3624, allocations: 160.6 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3624, allocations: 25.7 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.3625, allocations: 104.1 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.3625, allocations: 3.953 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3625, allocations: 21.92 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3627, allocations: 326.8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.3627, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.3627, allocations: 21.72 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.321e-05/0.3628, allocations: 21.72 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3628, allocations: 3.938 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.285e-05/0.3629, allocations: 65.58 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3629, allocations: 8 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3629, allocations: 3.938 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3629, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.363, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.363, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.363, allocations: 11.86 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.363, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 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 9.032e-05/0.3631, allocations: 113.8 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.3632, allocations: 12.02 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.3632, allocations: 15.81 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3632, allocations: 0 / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3632, allocations: 4 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3632, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.3636, allocations: 474.7 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3636, allocations: 96 / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.3637, allocations: 8.062 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3637, allocations: 3.984 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3637, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3637, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3637, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.502e-05/0.3638, allocations: 85.88 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3638, allocations: 85 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3638, allocations: 8.031 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.3639, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.3639, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3639, allocations: 4 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001071/0.364, allocations: 125.1 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.364, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001969/0.3642, allocations: 8 kB / 1.225 GB, free: 9.082 MB / 0.9825 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.0001339/0.3643, allocations: 103.2 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.3644, allocations: 23.94 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3644, allocations: 0 / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.3644, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.3646, allocations: 14.17 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.3649, allocations: 170.5 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3652, allocations: 0.6931 MB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.34e-05/0.3652, allocations: 8.422 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.3652, allocations: 11.44 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3652, allocations: 0 / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of Templates: time 0.002688/0.3679, allocations: 460.5 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches