Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.01012/0.01012, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002447/0.002447, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 59.91 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002217/1.049, allocations: 0.8265 MB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/1.049, allocations: 39.8 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/1.049, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/1.05, allocations: 7.875 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.39e-05/1.05, allocations: 23.86 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.575e-05/1.05, allocations: 15.97 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/1.05, allocations: 63.84 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/1.05, allocations: 39.92 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/1.05, allocations: 27.92 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/1.05, allocations: 27.8 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/1.05, allocations: 8 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/1.05, allocations: 4 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/1.05, allocations: 19.86 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/1.05, allocations: 35.81 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/1.05, allocations: 71.69 kB / 1.209 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.05, allocations: 0 / 1.209 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/1.05, allocations: 0 / 1.209 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.05, allocations: 0 / 1.209 GB, free: 12.47 MB / 0.9356 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.0004656/1.051, allocations: 384.8 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.051, allocations: 8.031 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/1.051, allocations: 12.84 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/1.051, allocations: 196.1 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/1.051, allocations: 8.375 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/1.051, allocations: 4.375 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/1.051, allocations: 91.95 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.051, allocations: 4.125 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.051, allocations: 11.94 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.051, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/1.052, allocations: 31.98 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/1.052, allocations: 440.7 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/1.052, allocations: 45.09 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/1.052, allocations: 21.84 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/1.052, allocations: 0 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.052, allocations: 38.5 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/1.052, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001682/1.052, allocations: 57.75 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.052, allocations: 85.08 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/1.053, allocations: 160.5 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/1.053, allocations: 25.7 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/1.053, allocations: 111.9 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/1.053, allocations: 3.906 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/1.053, allocations: 13.72 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002123/1.053, allocations: 322.8 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/1.053, allocations: 12 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/1.053, allocations: 13.72 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/1.053, allocations: 25.72 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.053, allocations: 0 / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.467e-05/1.053, allocations: 61.53 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.053, allocations: 5.719 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.053, allocations: 8 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.053, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/1.053, allocations: 8.094 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.053, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/1.053, allocations: 19.77 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/1.053, allocations: 7.984 kB / 1.211 GB, free: 10.02 MB / 0.9356 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.0001917/1.054, allocations: 113.8 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/1.054, allocations: 7.906 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/1.054, allocations: 7.812 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/1.054, allocations: 8 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/1.054, allocations: 0 / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.054, allocations: 0 / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/1.054, allocations: 474.8 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.054, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/1.054, allocations: 4 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/1.054, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/1.054, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.054, allocations: 8.047 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.054, allocations: 4 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.987e-05/1.054, allocations: 81.77 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/1.054, allocations: 88.95 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/1.054, allocations: 4 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/1.054, allocations: 0 / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/1.054, allocations: 4.031 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/1.054, allocations: 4 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00012/1.055, allocations: 117.3 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.055, allocations: 4 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001988/1.055, allocations: 11.91 kB / 1.212 GB, free: 8.984 MB / 0.9356 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.000157/1.055, allocations: 103.2 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001104/1.055, allocations: 15.94 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.055, allocations: 4.125 kB / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/1.055, allocations: 4 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/1.055, allocations: 15.88 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/1.056, allocations: 166.8 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/1.056, allocations: 0.6885 MB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.423e-05/1.056, allocations: 16.55 kB / 1.213 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/1.056, allocations: 7.438 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/1.056, allocations: 4 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of Templates: time 0.002563/1.059, allocations: 456.5 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches