Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009443, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001032/0.001032, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.858/2.858, allocations: 437.7 MB / 0.7117 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.000435, allocations: 15.98 kB / 0.8722 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8103, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00142/0.8118, allocations: 0.5277 MB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.812, allocations: 43.78 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.812, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.8121, allocations: 7.922 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.8122, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.169e-05/0.8122, allocations: 15.98 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.8124, allocations: 63.84 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.8125, allocations: 24.16 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.8126, allocations: 23.86 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.8127, allocations: 19.81 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.8127, allocations: 3.984 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.8127, allocations: 8 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.8127, allocations: 7.922 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.8128, allocations: 33.7 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.8129, allocations: 47.89 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8129, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8129, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.8129, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 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.0004943/0.8134, allocations: 373 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.8135, allocations: 11.97 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.8135, allocations: 11.91 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.8138, allocations: 190.9 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.8138, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.8139, allocations: 8 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.8141, allocations: 99.19 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8142, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.8142, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.8142, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.8143, allocations: 43.92 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.815, allocations: 436.6 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.8151, allocations: 37.22 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.8152, allocations: 21.78 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.8152, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.8152, allocations: 38.59 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.8152, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002298/0.8155, allocations: 57.48 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.8155, allocations: 81.36 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.8157, allocations: 170.2 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.8157, allocations: 25.7 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.8158, allocations: 100 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.8159, allocations: 11.84 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.8159, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.816, allocations: 314.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.8161, allocations: 8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.8161, allocations: 21.72 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.8161, allocations: 4 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8161, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.962e-05/0.8163, allocations: 65.53 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.8163, allocations: 5.719 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8163, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8163, allocations: 3.953 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.8164, allocations: 11.94 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8164, allocations: 4.062 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.8164, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.8165, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.458e-05/0.8166, allocations: 121.8 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.8166, allocations: 7.906 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.8166, allocations: 15.81 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8166, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.8167, allocations: 3.953 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.8167, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.8171, allocations: 470.7 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8171, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.8171, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8171, allocations: 7.938 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.8171, allocations: 96 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8171, allocations: 4 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8171, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.469e-05/0.8172, allocations: 81.95 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.8173, allocations: 89 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.8173, allocations: 7.891 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.8174, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.8174, allocations: 7.938 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.8174, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.049e-05/0.8175, allocations: 119.3 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8175, allocations: 4 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001825/0.8177, allocations: 7.938 kB / 1.026 GB, free: 11.83 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.8178, allocations: 99.25 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.86e-05/0.8179, allocations: 15.98 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8179, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.818, allocations: 8.125 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.8181, allocations: 12.06 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.8185, allocations: 178.5 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.8188, allocations: 0.6965 MB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.161e-05/0.8188, allocations: 4.438 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.8188, allocations: 11.44 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8188, allocations: 0 / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.002561/0.8214, allocations: 416 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches