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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 78.73 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.972/2.972, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.369e-05, allocations: 2.281 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00202/0.002054, allocations: 0.7972 MB / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.002192, allocations: 47.78 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.002248, allocations: 0 / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.002293, allocations: 7.875 kB / 1.001 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.175e-05/0.002385, allocations: 11.92 kB / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.832e-05/0.002433, allocations: 15.98 kB / 1.001 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.002575, allocations: 63.78 kB / 1.001 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.002736, allocations: 31.91 kB / 1.001 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.002832, allocations: 35.91 kB / 1.001 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.002913, allocations: 23.91 kB / 1.001 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.002945, allocations: 4 kB / 1.001 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.002956, allocations: 12 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.00298, allocations: 11.92 kB / 1.001 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.003021, allocations: 23.92 kB / 1.001 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.003151, allocations: 71.7 kB / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003154, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.362e-06/0.003155, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.003166, allocations: 3.938 kB / 1.001 GB, free: 6.109 MB / 0.9512 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.000515/0.003681, allocations: 306 kB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.00372, allocations: 8.031 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.00376, allocations: 8.891 kB / 1.002 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.003977, allocations: 133.7 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003987, allocations: 8.375 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.004007, allocations: 8.312 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.004196, allocations: 91.86 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.004208, allocations: 4.172 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.004223, allocations: 8.375 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004228, allocations: 384 / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.004313, allocations: 47.78 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.004872, allocations: 360.5 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/0.004942, allocations: 37.19 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.00498, allocations: 25.84 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.004988, allocations: 0 / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.005015, allocations: 30.56 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.005016, allocations: 0 / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000193/0.005209, allocations: 57.58 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.005269, allocations: 77.11 kB / 1.002 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.005408, allocations: 136.7 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.00543, allocations: 25.7 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.005507, allocations: 116.2 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.005517, allocations: 7.953 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.00555, allocations: 13.72 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.005698, allocations: 318.8 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.005722, allocations: 7.984 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.005748, allocations: 17.72 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.005793, allocations: 25.66 kB / 1.003 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.005794, allocations: 0 / 1.003 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.994e-05/0.005884, allocations: 61.64 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.0059, allocations: 12 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.005904, allocations: 0 / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.005918, allocations: 3.938 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.005978, allocations: 4 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.005986, allocations: 7.938 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.006012, allocations: 3.938 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.006016, allocations: 0 / 1.003 GB, free: 3.965 MB / 0.9512 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 9.324e-05/0.006109, allocations: 113.8 kB / 1.003 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.006152, allocations: 7.953 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.006181, allocations: 15.45 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.006182, allocations: 4 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006186, allocations: 0 / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.00619, allocations: 3.938 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.006602, allocations: 410.5 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006603, allocations: 0 / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.006624, allocations: 4 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006625, allocations: 0 / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.006634, allocations: 3.938 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.006638, allocations: 4 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006639, allocations: 4 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.05e-05/0.006729, allocations: 77.94 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.006748, allocations: 7.938 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.006762, allocations: 3.938 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/0.006779, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.006795, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.006801, allocations: 8 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.615e-05/0.006877, allocations: 103.2 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.006877, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001916/0.007069, allocations: 11.95 kB / 1.004 GB, free: 3.121 MB / 0.9512 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.0001218/0.00719, allocations: 99.27 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.096e-05/0.007281, allocations: 19.94 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007283, allocations: 0 / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.007295, allocations: 8 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.007455, allocations: 5.969 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.007787, allocations: 166.5 kB / 1.004 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.745e-05/0.007864, allocations: 79.58 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.007897, allocations: 7.984 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.007925, allocations: 12.5 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of SimCode: time 4.2e-07/0.007926, allocations: 3.938 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of Templates: time 0.002877/0.0108, allocations: 328.7 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.453990813344717]