Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.007448/0.007448, allocations: 100.1 kB / 15.73 MB, free: 6.012 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.001238/0.001239, allocations: 187 kB / 16.67 MB, free: 5.949 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.52/2.52, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.56 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3704, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002216/0.3726, allocations: 0.8215 MB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001307/0.3728, allocations: 43.8 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.3728, allocations: 4 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.3729, allocations: 7.875 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.373, allocations: 15.84 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.772e-05/0.3731, allocations: 19.98 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3732, allocations: 63.84 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.3734, allocations: 43.97 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.3734, allocations: 23.86 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.3735, allocations: 27.84 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3735, allocations: 8 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.3736, allocations: 4 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.3736, allocations: 19.88 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.3736, allocations: 35.73 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.3738, allocations: 83.64 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3738, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3738, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3738, allocations: 0 / 1.089 GB, free: 260 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.0005336/0.3743, allocations: 371.3 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3744, allocations: 8.031 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3744, allocations: 12.75 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.3747, allocations: 196.1 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3747, allocations: 12.31 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3747, allocations: 8.375 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3749, allocations: 93.5 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3749, allocations: 8.125 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3749, allocations: 3.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3749, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.375, allocations: 35.98 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.3756, allocations: 436.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.746e-05/0.3757, allocations: 41.09 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.3757, allocations: 25.83 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.3757, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3758, allocations: 38.5 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.3758, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001855/0.376, allocations: 53.55 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.376, allocations: 81.05 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3762, allocations: 161.3 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3762, allocations: 25.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.3763, allocations: 100.3 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.3763, allocations: 7.906 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.3763, allocations: 21.66 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3765, allocations: 322.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.3765, allocations: 4 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.3765, allocations: 21.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.3766, allocations: 21.72 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.3766, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.765e-05/0.3767, allocations: 57.55 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3767, allocations: 11.98 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3767, allocations: 3.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3767, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.3768, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3768, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.3768, allocations: 11.78 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3769, allocations: 4 kB / 1.091 GB, free: 13.83 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 8.822e-05/0.3769, allocations: 119.9 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.377, allocations: 7.906 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.377, allocations: 15.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.377, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.377, allocations: 8 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3771, allocations: 4.078 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.3774, allocations: 470.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3774, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.3775, allocations: 8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3775, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3775, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3775, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3775, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.613e-05/0.3776, allocations: 89.83 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3777, allocations: 85 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3777, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.3777, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.3777, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3777, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001179/0.3779, allocations: 121.1 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3779, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002051/0.3781, allocations: 8 kB / 1.092 GB, free: 12.79 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.0001572/0.3782, allocations: 103.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.3784, allocations: 19.94 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3784, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.3784, allocations: 11.98 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.3786, allocations: 7.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.3789, allocations: 167.1 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3792, allocations: 0.6924 MB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.3792, allocations: 4.438 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.3793, allocations: 11.44 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.3793, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.002822/0.3821, allocations: 473.9 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches