Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001368/0.001368, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001682/0.001682, allocations: 168.7 kB / 15.95 MB, free: 204 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.591/1.591, allocations: 223.3 MB / 240 MB, free: 5.441 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.841/2.841, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004126, allocations: 8 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7827, allocations: 153.8 MB / 1.022 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001034/0.7838, allocations: 0.5161 MB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001028/0.7839, allocations: 39.78 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.7839, allocations: 4 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.784, allocations: 3.938 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.784, allocations: 7.922 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.269e-05/0.7841, allocations: 12 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.982e-05/0.7842, allocations: 59.84 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.7843, allocations: 36.08 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.604e-05/0.7844, allocations: 15.88 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.7845, allocations: 19.86 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.7845, allocations: 4 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.7845, allocations: 0 / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.7845, allocations: 11.94 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.7845, allocations: 37.64 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.477e-05/0.7846, allocations: 47.88 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7846, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7846, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.7847, allocations: 3.938 kB / 1.023 GB, free: 15.3 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.0003887/0.7851, allocations: 377 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.7851, allocations: 8.031 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.7851, allocations: 11.91 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.7853, allocations: 190.9 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.7854, allocations: 8 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.7854, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.7855, allocations: 99.23 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.7856, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7856, allocations: 4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7856, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.7857, allocations: 43.91 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.7862, allocations: 432.6 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/0.7862, allocations: 41.28 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.7863, allocations: 25.84 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.7863, allocations: 3.984 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.7863, allocations: 30.56 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7863, allocations: 0 / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/0.7865, allocations: 57.5 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.7866, allocations: 81.36 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.7867, allocations: 170.2 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.7867, allocations: 25.7 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.7868, allocations: 104 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.789e-06/0.7868, allocations: 11.84 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.7868, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.7869, allocations: 326.8 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.7869, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.787, allocations: 25.72 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.787, allocations: 11.98 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.787, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.388e-05/0.7871, allocations: 53.55 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7871, allocations: 8 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.7871, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7871, allocations: 3.953 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.7872, allocations: 7.984 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7872, allocations: 4.062 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.7873, allocations: 4 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.7873, allocations: 0 / 1.025 GB, free: 12.92 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 7.908e-05/0.7873, allocations: 117.8 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.7874, allocations: 7.906 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.7874, allocations: 15.81 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7874, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.7874, allocations: 3.953 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7874, allocations: 7.984 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.7878, allocations: 470.7 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7878, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.7878, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.7879, allocations: 7.953 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.7879, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7879, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7879, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.052e-05/0.788, allocations: 81.89 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.788, allocations: 85.02 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.788, allocations: 7.953 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.7881, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.7881, allocations: 3.984 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.7881, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.588e-05/0.7882, allocations: 119.3 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7882, allocations: 3.938 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000186/0.7884, allocations: 11.94 kB / 1.026 GB, free: 11.87 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.0001071/0.7885, allocations: 99.23 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.7886, allocations: 19.94 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7886, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.7886, allocations: 8 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.7888, allocations: 4.25 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.7891, allocations: 182.5 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.7893, allocations: 0.6965 MB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.7894, allocations: 8.422 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.7894, allocations: 11.44 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7894, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.002346/0.7918, allocations: 413.7 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches