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.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.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.006728/0.006728, allocations: 97.62 kB / 15.73 MB, free: 6.051 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.001397/0.001397, allocations: 194.2 kB / 16.67 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.079/3.079, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 72.09 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3759, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002848/0.3788, allocations: 0.8267 MB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.379, allocations: 39.78 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.3791, allocations: 0 / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.922e-05/0.3792, allocations: 7.875 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3793, allocations: 15.88 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.846e-05/0.3794, allocations: 19.97 kB / 1.209 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.3795, allocations: 63.84 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.3798, allocations: 39.92 kB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3799, allocations: 35.84 kB / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.38, allocations: 27.86 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.38, allocations: 4 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.432e-05/0.3801, allocations: 8 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.3801, allocations: 15.86 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.3802, allocations: 35.75 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3804, allocations: 75.69 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.3804, allocations: 4 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3804, allocations: 0 / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.3804, allocations: 0 / 1.209 GB, free: 8.418 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.0007079/0.3812, allocations: 383.2 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.3812, allocations: 8.625 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.3813, allocations: 8.844 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.3817, allocations: 200.1 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3817, allocations: 4.375 kB / 1.209 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3818, allocations: 8.375 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.382, allocations: 89.67 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.382, allocations: 192 / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3821, allocations: 11.94 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3821, allocations: 7.938 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3822, allocations: 31.98 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008547/0.3831, allocations: 440.4 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/0.3832, allocations: 37.34 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.3832, allocations: 21.78 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.3832, allocations: 0 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3833, allocations: 34.56 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.3833, allocations: 3.938 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002823/0.3836, allocations: 53.53 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.3837, allocations: 85.3 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3839, allocations: 161.1 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3839, allocations: 25.7 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.384, allocations: 108 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.384, allocations: 11.91 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.3841, allocations: 17.62 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3843, allocations: 318.8 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.3843, allocations: 8 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.3843, allocations: 21.66 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.3844, allocations: 33.7 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3844, allocations: 4 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001189/0.3845, allocations: 49.64 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3846, allocations: 4 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.3846, allocations: 3.938 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3846, allocations: 8.062 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.3847, allocations: 8.078 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3847, allocations: 3.984 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.3848, allocations: 11.84 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3848, allocations: 7.984 kB / 1.211 GB, free: 5.969 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.905e-05/0.3849, allocations: 113.8 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.3849, allocations: 7.906 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.385, allocations: 15.81 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.385, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.385, allocations: 4 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.385, allocations: 3.984 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.3854, allocations: 470.8 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3854, allocations: 0 / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.3854, allocations: 4 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3855, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3855, allocations: 4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3855, allocations: 4.062 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3855, allocations: 0 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.3856, allocations: 81.73 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.3857, allocations: 92.95 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3857, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.3857, allocations: 3.938 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.3857, allocations: 12.02 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3857, allocations: 0 / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.568e-05/0.3858, allocations: 115.3 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3858, allocations: 0 / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002153/0.3861, allocations: 11.98 kB / 1.212 GB, free: 4.93 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.0001735/0.3862, allocations: 99.25 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.3864, allocations: 19.94 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3864, allocations: 4.125 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.3864, allocations: 7.938 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.3866, allocations: 15.94 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.3869, allocations: 150.8 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3872, allocations: 0.6929 MB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.3873, allocations: 12.55 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.3873, allocations: 11.44 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3873, allocations: 0 / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of Templates: time 0.002565/0.3899, allocations: 465 kB / 1.213 GB, free: 3.398 MB / 0.9669 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