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.001554/0.001555, allocations: 112.8 kB / 16.41 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.001675/0.001675, allocations: 183 kB / 17.34 MB, free: 5.754 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.18 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.309/2.309, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 67.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.9597, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0021/0.9618, allocations: 0.8206 MB / 1.089 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001209/0.962, allocations: 40.19 kB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.962, allocations: 6.438 kB / 1.089 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.9621, allocations: 9.766 kB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.91e-05/0.9622, allocations: 10.42 kB / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.921e-05/0.9622, allocations: 20.7 kB / 1.09 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.9624, allocations: 58.19 kB / 1.09 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.9625, allocations: 46.22 kB / 1.09 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.9626, allocations: 26.17 kB / 1.09 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.9627, allocations: 29.44 kB / 1.09 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.9627, allocations: 6.562 kB / 1.09 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.9627, allocations: 6.188 kB / 1.09 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.9627, allocations: 15.53 kB / 1.09 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.9628, allocations: 33.23 kB / 1.09 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.9629, allocations: 75.45 kB / 1.09 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9629, allocations: 0 / 1.09 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9629, allocations: 0 / 1.09 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.9629, allocations: 0.9688 kB / 1.09 GB, free: 5.027 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.0003983/0.9634, allocations: 377.9 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.9634, allocations: 10.61 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.9634, allocations: 16.59 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.9636, allocations: 189.4 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.9636, allocations: 2.531 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.9637, allocations: 13.59 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.9638, allocations: 93.64 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.9638, allocations: 192 / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.9639, allocations: 9.312 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.9639, allocations: 2.656 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.964, allocations: 39.56 kB / 1.091 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.9645, allocations: 433.2 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.9645, allocations: 50.16 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.9646, allocations: 21.34 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.9646, allocations: 5.062 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.9646, allocations: 36.42 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.9646, allocations: 0 / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.9648, allocations: 61.05 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.9648, allocations: 82.17 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.965, allocations: 156.4 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.965, allocations: 30.61 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.9651, allocations: 103.4 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.9651, allocations: 5.406 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.9651, allocations: 19.17 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.9652, allocations: 323.8 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.9652, allocations: 3.734 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.9653, allocations: 24.52 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.9653, allocations: 23.28 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9653, allocations: 0 / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.842e-05/0.9654, allocations: 61.59 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.9654, allocations: 8.656 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9654, allocations: 5.797 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9654, allocations: 5.078 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.9655, allocations: 5.578 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.9655, allocations: 5.797 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.9656, allocations: 6.781 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.9656, allocations: 1.125 kB / 1.092 GB, free: 2.945 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 6.038e-05/0.9656, allocations: 115.2 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.9657, allocations: 7.438 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.9657, allocations: 21.45 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.9657, allocations: 0 / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9657, allocations: 1.953 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9657, allocations: 1.75 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.966, allocations: 465 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9661, allocations: 1.781 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.9661, allocations: 3.203 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9661, allocations: 5.156 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.9661, allocations: 1.312 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.9661, allocations: 4.734 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9661, allocations: 5.062 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.479e-05/0.9662, allocations: 80.58 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.9662, allocations: 91.19 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.9662, allocations: 4.938 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.938e-05/0.9663, allocations: 1.156 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.9663, allocations: 5.422 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.9663, allocations: 1.094 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.479e-05/0.9664, allocations: 118.6 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9664, allocations: 1.344 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001811/0.9666, allocations: 6.812 kB / 1.093 GB, free: 2.031 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.0001026/0.9667, allocations: 97.31 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.9668, allocations: 26.92 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9668, allocations: 1.062 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.9668, allocations: 4.969 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.967, allocations: 15.09 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.9673, allocations: 194.7 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.9675, allocations: 0.6971 MB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.9675, allocations: 12.03 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.9675, allocations: 0 / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of Templates: time 0.002732/0.9702, allocations: 0.8641 MB / 1.095 GB, free: 0.9453 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/jenkins1/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