Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005354/0.005354, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.001129/0.00113, allocations: 189 kB / 16.67 MB, free: 6.391 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.634/2.634, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.39 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4085, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002422/0.411, allocations: 0.8099 MB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001473/0.4111, allocations: 47.78 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.4112, allocations: 0 / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.013e-05/0.4113, allocations: 11.86 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.4114, allocations: 7.875 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.391e-05/0.4114, allocations: 19.98 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.4116, allocations: 71.83 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.4118, allocations: 43.95 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.4119, allocations: 23.81 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.878e-05/0.412, allocations: 27.84 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.412, allocations: 12 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.412, allocations: 4 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.4121, allocations: 15.94 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.4121, allocations: 39.73 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.4123, allocations: 79.58 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4123, allocations: 3.938 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4123, allocations: 0 / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4123, allocations: 0 / 1.089 GB, free: 276 kB / 0.8419 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.0005767/0.4129, allocations: 371.4 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4129, allocations: 12.03 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.413, allocations: 16.75 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.4133, allocations: 192.2 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4133, allocations: 4.375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4133, allocations: 8.375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.4135, allocations: 101.3 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4135, allocations: 192 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4135, allocations: 3.938 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4136, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.4136, allocations: 39.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.4142, allocations: 432.5 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.398e-05/0.4143, allocations: 37.16 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.4144, allocations: 29.86 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.4144, allocations: 7.984 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4144, allocations: 30.56 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.4144, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00022/0.4146, allocations: 57.48 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.4147, allocations: 77.36 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.4148, allocations: 164.9 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.4149, allocations: 25.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.4149, allocations: 100 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.4149, allocations: 3.906 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.415, allocations: 21.7 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4151, allocations: 322.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.4151, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.4152, allocations: 25.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.4152, allocations: 29.66 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4152, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.06e-05/0.4153, allocations: 57.53 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4153, allocations: 8 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4153, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4153, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.4154, allocations: 12.06 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.4154, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.4155, allocations: 7.844 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.4155, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 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.707e-05/0.4156, allocations: 118.3 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.4156, allocations: 7.906 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.4157, allocations: 15.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4157, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4157, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.4157, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.4161, allocations: 470.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4161, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.4161, allocations: 4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.4162, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.4162, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4162, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4162, allocations: 8.062 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.989e-05/0.4163, allocations: 81.77 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.4163, allocations: 89 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4164, allocations: 8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.821e-05/0.4164, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.4164, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4164, allocations: 8.031 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001157/0.4165, allocations: 117.3 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4166, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001801/0.4167, allocations: 8 kB / 1.092 GB, free: 12.8 MB / 0.8575 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.0001612/0.4169, allocations: 99.25 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.417, allocations: 23.86 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.417, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.417, allocations: 12.12 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.4172, allocations: 11.94 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.4176, allocations: 162.8 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.418, allocations: 0.6967 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.418, allocations: 8.562 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.4181, allocations: 11.44 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.4181, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of Templates: time 0.002662/0.4207, allocations: 461.9 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches