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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.009568/0.009568, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.002101/0.002101, allocations: 202 kB / 16.68 MB, free: 5.961 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.6 MB / 0.7453 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 67.89 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4137, allocations: 159.9 MB / 1.226 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00227/0.416, allocations: 0.8119 MB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001001/0.4161, allocations: 51.72 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.4162, allocations: 0 / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.4162, allocations: 7.875 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.4163, allocations: 7.922 kB / 1.227 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.287e-05/0.4163, allocations: 19.98 kB / 1.227 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.259e-05/0.4164, allocations: 63.78 kB / 1.227 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.4165, allocations: 51.91 kB / 1.227 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.4166, allocations: 27.86 kB / 1.227 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.4166, allocations: 27.84 kB / 1.227 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4166, allocations: 11.94 kB / 1.227 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.4167, allocations: 4 kB / 1.227 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.4167, allocations: 8 kB / 1.227 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.4167, allocations: 47.67 kB / 1.227 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.4168, allocations: 71.64 kB / 1.227 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4168, allocations: 0 / 1.227 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4168, allocations: 0 / 1.227 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4168, allocations: 0 / 1.227 GB, free: 7.977 MB / 0.9825 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.000333/0.4172, allocations: 383 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4172, allocations: 12.03 kB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.4173, allocations: 12.84 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.4174, allocations: 188.2 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.4175, allocations: 12.38 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.4175, allocations: 4.375 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4176, allocations: 99.92 kB / 1.228 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.4176, allocations: 192 / 1.228 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.4176, allocations: 3.938 kB / 1.228 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.4176, allocations: 4 kB / 1.228 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.4177, allocations: 35.92 kB / 1.228 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.4182, allocations: 440.6 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.336e-05/0.4183, allocations: 37.41 kB / 1.228 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.4183, allocations: 21.72 kB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.4183, allocations: 7.984 kB / 1.228 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4184, allocations: 30.56 kB / 1.228 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4184, allocations: 0 / 1.228 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001184/0.4185, allocations: 57.53 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.4186, allocations: 77.11 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4187, allocations: 172.9 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4187, allocations: 25.95 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.4188, allocations: 104.1 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.4188, allocations: 7.891 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.4189, allocations: 21.67 kB / 1.229 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.419, allocations: 322.8 kB / 1.229 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.4191, allocations: 8 kB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.4191, allocations: 17.7 kB / 1.229 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.386e-05/0.4191, allocations: 29.72 kB / 1.229 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4192, allocations: 4 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.481e-05/0.4192, allocations: 57.59 kB / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.4193, allocations: 5.25 kB / 1.229 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4193, allocations: 7.922 kB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/0.4193, allocations: 0 / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.4193, allocations: 8 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.4194, allocations: 0 / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.4194, allocations: 8 kB / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.4194, allocations: 4 kB / 1.229 GB, free: 5.531 MB / 0.9825 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 0.0001018/0.4195, allocations: 117.8 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.4196, allocations: 7.953 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.4196, allocations: 19.8 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4196, allocations: 0 / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4196, allocations: 0 / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.4196, allocations: 0 / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.4201, allocations: 478.7 kB / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4201, allocations: 0 / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.4201, allocations: 4 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4201, allocations: 0 / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.4201, allocations: 0 / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4201, allocations: 4 kB / 1.23 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4201, allocations: 0 / 1.23 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.4203, allocations: 81.94 kB / 1.23 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.4204, allocations: 89.06 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.4204, allocations: 3.984 kB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.563e-05/0.4204, allocations: 0 / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-06/0.4204, allocations: 7.875 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.4204, allocations: 4 kB / 1.23 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.998e-05/0.4205, allocations: 121.7 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4205, allocations: 0 / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001774/0.4207, allocations: 8.031 kB / 1.23 GB, free: 4.488 MB / 0.9825 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.0001545/0.4209, allocations: 103.2 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.29e-05/0.421, allocations: 12 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.421, allocations: 0 / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.421, allocations: 15.92 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.4211, allocations: 17.59 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.4214, allocations: 158.9 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.4217, allocations: 0.6924 MB / 1.231 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.4218, allocations: 12.5 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.4218, allocations: 11.44 kB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.4218, allocations: 0 / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of Templates: time 0.002471/0.4243, allocations: 468.5 kB / 1.231 GB, free: 2.945 MB / 0.9825 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