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.008553/0.008553, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.002168/0.002169, allocations: 196.4 kB / 16.68 MB, free: 5.977 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.547/1.547, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.602/2.602, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.59 kB / 0.9509 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3962, allocations: 140.4 MB / 1.088 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00215/0.3984, allocations: 0.8177 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.3985, allocations: 43.8 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.3986, allocations: 4 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.3986, allocations: 7.875 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3987, allocations: 11.86 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.245e-05/0.3988, allocations: 23.98 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3989, allocations: 67.83 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.3991, allocations: 35.97 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.3992, allocations: 35.8 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.3993, allocations: 27.84 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.3993, allocations: 8 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.3993, allocations: 4 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.3993, allocations: 19.88 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.3994, allocations: 35.73 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.3996, allocations: 79.58 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3996, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3996, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3996, allocations: 0 / 1.089 GB, free: 384 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.0005199/0.4001, allocations: 375.3 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4002, allocations: 8.031 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.4002, allocations: 16.75 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.4005, allocations: 196.2 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.4005, allocations: 4.375 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.4005, allocations: 8.375 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.4008, allocations: 91.88 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4008, allocations: 4.188 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.4008, allocations: 11.94 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4008, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.671e-05/0.4009, allocations: 39.92 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.4017, allocations: 432.6 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.275e-05/0.4018, allocations: 41.25 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.4018, allocations: 25.77 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4019, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4019, allocations: 34.56 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4019, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002311/0.4022, allocations: 57.67 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.4022, allocations: 81.17 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.4024, allocations: 155.1 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.4024, allocations: 29.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.4025, allocations: 100 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.4026, allocations: 7.844 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.4026, allocations: 17.72 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4028, allocations: 322.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.4028, allocations: 8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.4028, allocations: 21.7 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.4029, allocations: 25.66 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4029, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.727e-05/0.403, allocations: 57.55 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.403, allocations: 13.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.403, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.4031, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.4031, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4032, allocations: 7.938 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.4032, allocations: 7.844 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.4032, allocations: 4 kB / 1.091 GB, free: 13.94 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.924e-05/0.4033, allocations: 113.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4034, allocations: 7.906 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.4034, allocations: 15.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4034, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4034, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.4034, allocations: 4.078 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.4038, allocations: 466.8 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4038, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.4039, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4039, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.4039, allocations: 4.062 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4039, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4039, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.537e-05/0.404, allocations: 89.77 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.4041, allocations: 85.02 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.4041, allocations: 7.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.4041, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.4041, allocations: 4.031 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.4041, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001149/0.4043, allocations: 124.9 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.966e-06/0.4043, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001852/0.4045, allocations: 11.94 kB / 1.092 GB, free: 12.9 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.0001754/0.4046, allocations: 95.78 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.4048, allocations: 19.94 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4048, allocations: 4.125 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.4048, allocations: 7.984 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.405, allocations: 11.94 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.4054, allocations: 166.8 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4057, allocations: 0.6925 MB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.327e-05/0.4057, allocations: 8.438 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.4058, allocations: 11.44 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.4058, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.002778/0.4086, allocations: 457.9 kB / 1.094 GB, free: 11.37 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