Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001745/0.001745, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001855/0.001855, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.88 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8255/0.827, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001972/0.829, allocations: 0.8382 MB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.8292, allocations: 47.78 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.8292, allocations: 4 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.8293, allocations: 7.922 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.8294, allocations: 7.875 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.059e-05/0.8294, allocations: 19.98 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.8296, allocations: 59.84 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.8297, allocations: 43.92 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.8298, allocations: 23.92 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.8298, allocations: 31.78 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.8298, allocations: 4 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.8299, allocations: 8 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.8299, allocations: 15.94 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.8299, allocations: 35.78 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.83, allocations: 71.17 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8301, allocations: 4 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8301, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.8301, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 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.0004137/0.8305, allocations: 388.1 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.8305, allocations: 8.922 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.8306, allocations: 12.84 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.8308, allocations: 196.2 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.8308, allocations: 4.375 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.8308, allocations: 16.31 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.831, allocations: 94.38 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.831, allocations: 192 / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.831, allocations: 7.938 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.831, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.8311, allocations: 43.86 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.8316, allocations: 432.8 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.509e-05/0.8317, allocations: 49.17 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.8317, allocations: 17.83 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.8317, allocations: 4 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.8318, allocations: 38.56 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.8318, allocations: 0 / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.8319, allocations: 53.53 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.832, allocations: 81.11 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.8321, allocations: 156.5 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.8321, allocations: 29.7 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.8322, allocations: 104 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-06/0.8322, allocations: 4.203 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.8323, allocations: 21.72 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8324, allocations: 318.8 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.8324, allocations: 4 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.8324, allocations: 29.64 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.8325, allocations: 21.72 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8325, allocations: 4 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.024e-05/0.8326, allocations: 61.55 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8326, allocations: 7.984 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8326, allocations: 7.938 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.8326, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.8327, allocations: 4 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.8327, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.999e-05/0.8327, allocations: 7.938 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.8327, allocations: 7.938 kB / 1.171 GB, free: 188 kB / 0.8887 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 6.808e-05/0.8328, allocations: 117.9 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.8328, allocations: 7.953 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.8329, allocations: 19.8 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8329, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8329, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.8329, allocations: 4 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.8333, allocations: 470.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8333, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.8333, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.8333, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.8334, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.8334, allocations: 3.938 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8334, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.8335, allocations: 89.84 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.8335, allocations: 85.06 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.8335, allocations: 3.984 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.8336, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.8336, allocations: 4 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.8336, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.913e-05/0.8337, allocations: 121.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8337, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001933/0.8339, allocations: 8 kB / 1.172 GB, free: 15.14 MB / 0.9044 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 9.655e-05/0.834, allocations: 103.2 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.953e-05/0.8341, allocations: 16 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8341, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.8341, allocations: 11.92 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.8343, allocations: 14.75 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.8346, allocations: 192.5 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.8348, allocations: 0.6963 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.8349, allocations: 11.44 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8349, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.002133/0.837, allocations: 0.8677 MB / 1.173 GB, free: 13.16 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches