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.0009342/0.0009342, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008936/0.008937, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.901/2.901, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 12.2 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3702, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001289/0.3716, allocations: 0.553 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.3717, allocations: 35.8 kB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.3718, allocations: 4 kB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.3718, allocations: 3.938 kB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.863e-05/0.3719, allocations: 7.922 kB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.523e-05/0.3719, allocations: 16 kB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.372, allocations: 63.73 kB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3722, allocations: 39.97 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.3723, allocations: 19.86 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.3723, allocations: 19.88 kB / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3723, allocations: 0 / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-06/0.3724, allocations: 0 / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.3724, allocations: 19.86 kB / 1.059 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3724, allocations: 49.45 kB / 1.059 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.3725, allocations: 68.03 kB / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3726, allocations: 0 / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3726, allocations: 0 / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3726, allocations: 0 / 1.06 GB, free: 4.578 MB / 0.8106 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.0004608/0.373, allocations: 367.3 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3731, allocations: 12.03 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3731, allocations: 8.844 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3733, allocations: 188.2 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3733, allocations: 8.312 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3734, allocations: 8.375 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3735, allocations: 93.97 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3736, allocations: 192 / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3736, allocations: 11.94 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3736, allocations: 7.938 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-05/0.3737, allocations: 39.92 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.3742, allocations: 432.6 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.3743, allocations: 45.25 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.3743, allocations: 21.77 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3744, allocations: 4 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3744, allocations: 34.55 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.3744, allocations: 0 / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001682/0.3746, allocations: 61.48 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3746, allocations: 77.11 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3748, allocations: 154.2 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3748, allocations: 25.7 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.3749, allocations: 119.8 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.3749, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.3749, allocations: 9.719 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3751, allocations: 323.1 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.3751, allocations: 12 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.3751, allocations: 21.64 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.3752, allocations: 25.72 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3752, allocations: 0 / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.859e-05/0.3753, allocations: 53.55 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3753, allocations: 12.05 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3753, allocations: 7.938 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3753, allocations: 0 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.3754, allocations: 4 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3754, allocations: 4 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.3754, allocations: 11.84 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3754, allocations: 4 kB / 1.062 GB, free: 2.152 MB / 0.8106 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.696e-05/0.3755, allocations: 107.4 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.3756, allocations: 11.91 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3756, allocations: 19.8 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3756, allocations: 0 / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3756, allocations: 4 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3756, allocations: 0 / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.376, allocations: 470.8 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.376, allocations: 3.938 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.3761, allocations: 8 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3761, allocations: 0 / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3761, allocations: 4.062 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3761, allocations: 3.938 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3761, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.081e-05/0.3762, allocations: 81.83 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.3763, allocations: 89 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.3763, allocations: 4 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.3763, allocations: 4.031 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.3763, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3764, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.78e-05/0.3765, allocations: 121.9 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3765, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001904/0.3767, allocations: 11.91 kB / 1.063 GB, free: 1.117 MB / 0.8106 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.0001453/0.3768, allocations: 103.2 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.476e-05/0.3769, allocations: 16 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3769, allocations: 4 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.3769, allocations: 7.984 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.3771, allocations: 20.84 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.3775, allocations: 174.7 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3778, allocations: 0.6887 MB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.3779, allocations: 12.42 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.3779, allocations: 7.438 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3779, allocations: 4 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of Templates: time 0.003147/0.3811, allocations: 424.6 kB / 1.064 GB, free: 15.6 MB / 0.8262 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