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.01093/0.01093, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001717/0.001718, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.498/1.498, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.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.359/2.359, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.88 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002113/1.153, allocations: 0.8308 MB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001247/1.153, allocations: 33.66 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/1.153, allocations: 1.094 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/1.153, allocations: 10.55 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/1.153, allocations: 12.52 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.683e-05/1.153, allocations: 24.48 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000124/1.153, allocations: 59.14 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/1.154, allocations: 38.48 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/1.154, allocations: 30.38 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/1.154, allocations: 37.52 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/1.154, allocations: 6.438 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/1.154, allocations: 5.031 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/1.154, allocations: 13.73 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/1.154, allocations: 32.36 kB / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/1.154, allocations: 80.91 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.154, allocations: 0 / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.604e-06/1.154, allocations: 1.094 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.154, allocations: 0 / 1.089 GB, free: 4.77 MB / 0.8575 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.0003866/1.154, allocations: 378 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.154, allocations: 10.16 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/1.154, allocations: 13.72 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.155, allocations: 192.3 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.155, allocations: 8.188 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/1.155, allocations: 4.25 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/1.155, allocations: 94.67 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/1.155, allocations: 1.25 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/1.155, allocations: 9.031 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.155, allocations: 3.016 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.357e-05/1.155, allocations: 38.45 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/1.155, allocations: 434.9 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/1.156, allocations: 50.09 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/1.156, allocations: 20.44 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/1.156, allocations: 5.219 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.156, allocations: 32.52 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/1.156, allocations: 0 / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/1.156, allocations: 56.52 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.156, allocations: 81.84 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/1.156, allocations: 158.6 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/1.156, allocations: 26.58 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/1.156, allocations: 103.2 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/1.156, allocations: 9.297 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/1.156, allocations: 14.44 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.621e-05/1.156, allocations: 319.9 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/1.156, allocations: 13.3 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/1.156, allocations: 15.28 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/1.156, allocations: 30.67 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.156, allocations: 0 / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.177e-05/1.156, allocations: 57.59 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.156, allocations: 8.406 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.156, allocations: 13.67 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.156, allocations: 5.156 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/1.157, allocations: 6.891 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.157, allocations: 0 / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/1.157, allocations: 6.375 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/1.157, allocations: 2.141 kB / 1.091 GB, free: 2.699 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 5.359e-05/1.157, allocations: 114 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/1.157, allocations: 8.984 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/1.157, allocations: 16.39 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.157, allocations: 5.281 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.157, allocations: 1.031 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.157, allocations: 0.6562 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/1.157, allocations: 471.1 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.157, allocations: 0 / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/1.157, allocations: 4.266 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.157, allocations: 0.6562 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/1.157, allocations: 5.125 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.157, allocations: 1.156 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.157, allocations: 8.578 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.64e-05/1.157, allocations: 76.53 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/1.157, allocations: 99.77 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/1.157, allocations: 0.5156 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/1.157, allocations: 1.188 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/1.157, allocations: 5.656 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/1.157, allocations: 1.672 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.397e-05/1.157, allocations: 122.3 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.157, allocations: 0 / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000182/1.158, allocations: 7.094 kB / 1.092 GB, free: 1.781 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.0001004/1.158, allocations: 98.16 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.68e-05/1.158, allocations: 28 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.158, allocations: 0 / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/1.158, allocations: 8.922 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/1.158, allocations: 11.5 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/1.158, allocations: 163.6 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/1.158, allocations: 0.6931 MB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.834e-05/1.159, allocations: 11.14 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/1.159, allocations: 11.53 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of SimCode: time 5.62e-07/1.159, allocations: 0 / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.002764/1.161, allocations: 478.6 kB / 1.094 GB, free: 16.72 MB / 0.8731 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