Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008935/0.0008938, allocations: 91.22 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.001101/0.001101, 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.509/1.509, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.034/3.034, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 13.5 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3877, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00114/0.3889, allocations: 0.5145 MB / 1.059 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001076/0.389, allocations: 43.78 kB / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.3891, allocations: 0 / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.3891, allocations: 7.922 kB / 1.059 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.3892, allocations: 3.938 kB / 1.059 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.163e-05/0.3892, allocations: 15.98 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3893, allocations: 55.77 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3895, allocations: 36.14 kB / 1.059 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.178e-05/0.3895, allocations: 19.88 kB / 1.059 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.3896, allocations: 15.86 kB / 1.059 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3896, allocations: 7.875 kB / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-06/0.3896, allocations: 11.94 kB / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.3897, allocations: 7.984 kB / 1.059 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.3897, allocations: 37.64 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.688e-05/0.3898, allocations: 51.88 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3898, allocations: 0 / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3898, allocations: 0 / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3898, allocations: 0 / 1.059 GB, free: 4.496 MB / 0.8106 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.000428/0.3902, allocations: 367.4 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3903, allocations: 8.031 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.3903, allocations: 11.91 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.3906, allocations: 194.9 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3906, allocations: 0 / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3906, allocations: 15.95 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3908, allocations: 91.3 kB / 1.059 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3908, allocations: 0 / 1.059 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3908, allocations: 3.938 kB / 1.059 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3908, allocations: 4 kB / 1.059 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.3909, allocations: 35.98 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.3915, allocations: 436.5 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.379e-05/0.3915, allocations: 45.34 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.3916, allocations: 17.78 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.3916, allocations: 0 / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.3916, allocations: 46.45 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3916, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.3918, allocations: 49.59 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3919, allocations: 85.3 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.3921, allocations: 164.5 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.3921, allocations: 25.7 kB / 1.06 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3922, allocations: 104 kB / 1.06 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.3922, allocations: 7.906 kB / 1.06 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.3922, allocations: 0 / 1.06 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3923, allocations: 314.8 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.3924, allocations: 15.92 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.3924, allocations: 17.72 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.3924, allocations: 8 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3924, allocations: 0 / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.782e-05/0.3925, allocations: 65.53 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3925, allocations: 6.031 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3925, allocations: 3.953 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3926, allocations: 3.938 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.3926, allocations: 8 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3928, allocations: 8.047 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.3928, allocations: 11.84 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.3928, allocations: 0 / 1.061 GB, free: 2.117 MB / 0.8106 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.266e-05/0.3929, allocations: 113.8 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.3929, allocations: 7.906 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.393, allocations: 15.86 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.393, allocations: 3.953 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.393, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.393, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005523/0.3935, allocations: 470.8 kB / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3936, allocations: 0 / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.3936, allocations: 11.89 kB / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3936, allocations: 0 / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.3936, allocations: 0 / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3936, allocations: 4 kB / 1.061 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3936, allocations: 0 / 1.061 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.3937, allocations: 81.95 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.3938, allocations: 89 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3938, allocations: 3.953 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.3938, allocations: 0 / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.3938, allocations: 4.078 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3939, allocations: 8 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001213/0.394, allocations: 126.1 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.394, allocations: 4 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002055/0.3942, allocations: 4 kB / 1.062 GB, free: 1.078 MB / 0.8106 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.0001066/0.3943, allocations: 99.19 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.983e-05/0.3944, allocations: 19.98 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3944, allocations: 3.938 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3945, allocations: 8.125 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.3947, allocations: 12.06 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.3951, allocations: 181.5 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3953, allocations: 0.6927 MB / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.3954, allocations: 12.41 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.3954, allocations: 11.44 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3954, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.002583/0.398, allocations: 411.8 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches