Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.009183/0.009183, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001483/0.001483, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.464/1.464, 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 11.0.1-master/package.mo): time 2.897/2.897, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3806, allocations: 157.4 MB / 1.208 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002395/0.383, allocations: 0.8176 MB / 1.209 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.3832, allocations: 39.78 kB / 1.209 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.3833, allocations: 0 / 1.209 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.3833, allocations: 11.88 kB / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.3834, allocations: 11.86 kB / 1.209 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.49e-05/0.3835, allocations: 19.98 kB / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3836, allocations: 59.84 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.3838, allocations: 51.91 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.3839, allocations: 27.84 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.384, allocations: 23.86 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.384, allocations: 11.94 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.384, allocations: 4 kB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.3841, allocations: 19.92 kB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.3841, allocations: 31.81 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3843, allocations: 79.62 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3843, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3843, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3843, allocations: 7.938 kB / 1.209 GB, free: 8.504 MB / 0.9669 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.0005581/0.3849, allocations: 379.2 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3849, allocations: 8.625 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.385, allocations: 12.84 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.3852, allocations: 192.1 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3853, allocations: 4.375 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3853, allocations: 8.375 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3855, allocations: 99.89 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3855, allocations: 192 / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3855, allocations: 3.938 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3855, allocations: 0 / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/0.3856, allocations: 39.97 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.3862, allocations: 432.5 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.3863, allocations: 41.16 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.3863, allocations: 17.84 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.3863, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3864, allocations: 38.59 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.3864, allocations: 0 / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.3865, allocations: 65.47 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3866, allocations: 77.11 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3868, allocations: 158.9 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3868, allocations: 25.7 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.3868, allocations: 104 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.168e-06/0.3869, allocations: 7.891 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3869, allocations: 21.62 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.387, allocations: 327.1 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.387, allocations: 4 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.3871, allocations: 17.72 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.3871, allocations: 29.64 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3871, allocations: 3.938 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.336e-05/0.3872, allocations: 49.7 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3872, allocations: 12.06 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3872, allocations: 3.938 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3872, allocations: 0 / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.3873, allocations: 11.98 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3873, allocations: 3.938 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.3874, allocations: 7.844 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3874, allocations: 4 kB / 1.211 GB, free: 6.074 MB / 0.9669 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.259e-05/0.3875, allocations: 113.8 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.3875, allocations: 7.906 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.3875, allocations: 19.75 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3875, allocations: 4 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3876, allocations: 3.984 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3876, allocations: 0 / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.3879, allocations: 470.8 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3879, allocations: 0 / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.388, allocations: 8 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.388, allocations: 4.062 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.388, allocations: 0 / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.388, allocations: 0 / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.388, allocations: 4 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.564e-05/0.3881, allocations: 85.67 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3881, allocations: 81.02 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.3882, allocations: 12.03 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.3882, allocations: 0 / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.3882, allocations: 3.984 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3882, allocations: 4.094 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.3883, allocations: 117.1 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3883, allocations: 0 / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001794/0.3885, allocations: 8 kB / 1.212 GB, free: 5.035 MB / 0.9669 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.0001255/0.3886, allocations: 99.25 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.944e-05/0.3887, allocations: 19.94 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3887, allocations: 0 / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.3887, allocations: 8 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.3889, allocations: 17.64 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.3893, allocations: 162.7 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3896, allocations: 0.6931 MB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.3897, allocations: 12.42 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.3897, allocations: 7.438 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3897, allocations: 4 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of Templates: time 0.002678/0.3924, allocations: 472.9 kB / 1.213 GB, free: 3.488 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches