Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001594/0.001594, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001882/0.001882, allocations: 197.1 kB / 16.26 MB, free: 6.629 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 469.8 MB / 0.742 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.17 kB / 0.908 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3813, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002661/0.384, allocations: 0.8796 MB / 1.064 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.3842, allocations: 35.8 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.3843, allocations: 4 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.869e-05/0.3844, allocations: 7.922 kB / 1.064 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.3845, allocations: 11.98 kB / 1.064 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.769e-05/0.3846, allocations: 15.98 kB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3847, allocations: 63.8 kB / 1.064 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.3849, allocations: 47.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.385, allocations: 23.88 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.3851, allocations: 27.84 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3851, allocations: 8 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.3851, allocations: 4 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.3852, allocations: 11.94 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.3852, allocations: 47.66 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3854, allocations: 64.06 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3854, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3854, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.3854, allocations: 4 kB / 1.065 GB, free: 13.35 MB / 0.8262 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.0005885/0.386, allocations: 379.2 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3861, allocations: 8.031 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.3861, allocations: 12.75 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.3864, allocations: 188.2 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3864, allocations: 8.375 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3864, allocations: 8.312 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3867, allocations: 99.88 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3867, allocations: 192 / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.3867, allocations: 11.94 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3867, allocations: 0 / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.664e-05/0.3868, allocations: 35.92 kB / 1.065 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007068/0.3875, allocations: 444.6 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.421e-05/0.3876, allocations: 37.25 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.3877, allocations: 29.77 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3877, allocations: 3.984 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3877, allocations: 34.56 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.3877, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002113/0.388, allocations: 57.48 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.388, allocations: 77.11 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3882, allocations: 165.1 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3883, allocations: 25.7 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.3884, allocations: 104 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.3884, allocations: 7.906 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.3884, allocations: 21.95 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3886, allocations: 318.8 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.3886, allocations: 4 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.3887, allocations: 21.7 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.3887, allocations: 29.66 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3888, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.973e-05/0.3889, allocations: 61.53 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3889, allocations: 8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3889, allocations: 3.938 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3889, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.389, allocations: 4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.389, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.3891, allocations: 7.844 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3891, allocations: 8 kB / 1.067 GB, free: 10.9 MB / 0.8262 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.0001114/0.3892, allocations: 109.9 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.3892, allocations: 7.906 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.3893, allocations: 19.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3893, allocations: 3.938 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3893, allocations: 4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3893, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.3898, allocations: 470.8 kB / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3898, allocations: 4.062 kB / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.3899, allocations: 4 kB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3899, allocations: 0 / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.3899, allocations: 0 / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3899, allocations: 0 / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3899, allocations: 0 / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.39, allocations: 89.77 kB / 1.067 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.3901, allocations: 89 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3901, allocations: 4 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.3901, allocations: 0 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.3902, allocations: 0 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3902, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001176/0.3903, allocations: 120.9 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3903, allocations: 0 / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002033/0.3905, allocations: 8 kB / 1.068 GB, free: 9.867 MB / 0.8262 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.0001547/0.3907, allocations: 103.3 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.3908, allocations: 23.92 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3908, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.3908, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.391, allocations: 11.94 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.3914, allocations: 183 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3917, allocations: 0.6963 MB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.299e-05/0.3918, allocations: 4.438 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.3918, allocations: 15.44 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3918, allocations: 0 / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of Templates: time 0.0032/0.395, allocations: 458.3 kB / 1.069 GB, free: 8.32 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches