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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00662/0.00662, allocations: 96.09 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.001257/0.001258, allocations: 200.4 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 472.6 MB / 0.7453 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.11 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4325, allocations: 159.9 MB / 1.226 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002348/0.4349, allocations: 0.8295 MB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.4351, allocations: 43.78 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.4351, allocations: 4 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.4352, allocations: 11.86 kB / 1.227 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.4353, allocations: 11.88 kB / 1.227 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.184e-05/0.4354, allocations: 15.98 kB / 1.227 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.4355, allocations: 63.84 kB / 1.227 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.4357, allocations: 47.91 kB / 1.227 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.4358, allocations: 27.81 kB / 1.227 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.547e-05/0.4358, allocations: 31.78 kB / 1.227 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.4359, allocations: 4 kB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.4359, allocations: 8 kB / 1.227 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.4359, allocations: 7.938 kB / 1.227 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.436, allocations: 43.72 kB / 1.227 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.4361, allocations: 75.64 kB / 1.227 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4361, allocations: 0 / 1.227 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4361, allocations: 4 kB / 1.227 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4361, allocations: 0 / 1.227 GB, free: 7.902 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.0005522/0.4367, allocations: 383 kB / 1.227 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4368, allocations: 8.031 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.4368, allocations: 12.84 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.4371, allocations: 196.2 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4371, allocations: 12.36 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4371, allocations: 4.375 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.4373, allocations: 97.3 kB / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4373, allocations: 192 / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.4374, allocations: 11.94 kB / 1.228 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4374, allocations: 0 / 1.228 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.4374, allocations: 31.98 kB / 1.228 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.4381, allocations: 440.7 kB / 1.228 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.18e-05/0.4382, allocations: 37.2 kB / 1.228 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.4382, allocations: 17.78 kB / 1.228 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4382, allocations: 4 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.4383, allocations: 38.59 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4383, allocations: 0 / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002257/0.4385, allocations: 53.53 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.4386, allocations: 85.09 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.4388, allocations: 157 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4388, allocations: 29.7 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.4389, allocations: 100.1 kB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.4389, allocations: 7.953 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.4389, allocations: 25.91 kB / 1.229 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4391, allocations: 314.8 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.4392, allocations: 11.98 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.4392, allocations: 13.72 kB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.4392, allocations: 37.59 kB / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4392, allocations: 0 / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.782e-05/0.4393, allocations: 61.64 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4393, allocations: 7.938 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4394, allocations: 7.938 kB / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4394, allocations: 96 / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.4394, allocations: 7.938 kB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.4395, allocations: 0 / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.4395, allocations: 15.92 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.4395, allocations: 0 / 1.229 GB, free: 5.457 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 0.0001049/0.4396, allocations: 117.9 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.4397, allocations: 7.953 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.4397, allocations: 15.8 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4397, allocations: 0 / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4397, allocations: 0 / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4397, allocations: 4 kB / 1.229 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.4401, allocations: 470.7 kB / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4401, allocations: 8.062 kB / 1.23 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.4402, allocations: 0 / 1.23 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.4402, allocations: 4 kB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.4402, allocations: 0 / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4402, allocations: 3.984 kB / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4402, allocations: 0 / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.4403, allocations: 77.83 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.4404, allocations: 97.08 kB / 1.23 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.4404, allocations: 0 / 1.23 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.4405, allocations: 4 kB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.4405, allocations: 0 / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.4405, allocations: 0 / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.346e-05/0.4406, allocations: 121.7 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4406, allocations: 0 / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002026/0.4408, allocations: 8 kB / 1.23 GB, free: 4.422 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.0001682/0.441, allocations: 107.2 kB / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.4411, allocations: 23.92 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4411, allocations: 0 / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.4411, allocations: 4 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.4413, allocations: 17.75 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.4416, allocations: 158.6 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.4419, allocations: 0.6965 MB / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.4419, allocations: 4.438 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.4419, allocations: 15.38 kB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.4419, allocations: 0 / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of Templates: time 0.002735/0.4447, allocations: 472 kB / 1.231 GB, free: 2.875 MB / 0.9825 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