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.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.001992/0.001992, allocations: 79.28 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.002274/0.002274, allocations: 161.8 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.567/1.567, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.004/3.004, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.255e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002304/0.002337, allocations: 0.793 MB / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000167/0.002503, allocations: 39.78 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.002568, allocations: 4 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.768e-05/0.002616, allocations: 11.86 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.002707, allocations: 7.938 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.003e-05/0.002767, allocations: 19.98 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.003007, allocations: 63.77 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.003161, allocations: 35.97 kB / 0.9519 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003268, allocations: 35.91 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.003321, allocations: 19.91 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.003354, allocations: 8 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.003365, allocations: 4 kB / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.00339, allocations: 15.92 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.003428, allocations: 23.92 kB / 0.952 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.003676, allocations: 79.56 kB / 0.9521 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003679, allocations: 4 kB / 0.9521 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003679, allocations: 4 kB / 0.9521 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.003685, allocations: 3.938 kB / 0.9521 GB, free: 10.38 MB / 0.8575 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.0005031/0.004188, allocations: 302 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.004231, allocations: 12.03 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.00427, allocations: 8.891 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.004504, allocations: 133.7 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.004512, allocations: 384 / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.004536, allocations: 20.3 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.004715, allocations: 83.95 kB / 0.9526 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.004727, allocations: 4.188 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.00474, allocations: 4.375 kB / 0.9527 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.004745, allocations: 4.375 kB / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.524e-05/0.00484, allocations: 43.86 kB / 0.9527 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.005403, allocations: 356.4 kB / 0.953 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.48e-05/0.005468, allocations: 37.19 kB / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.005515, allocations: 21.83 kB / 0.9531 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.005522, allocations: 4 kB / 0.9531 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.005549, allocations: 34.56 kB / 0.9531 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.00555, allocations: 0 / 0.9531 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002026/0.005753, allocations: 49.64 kB / 0.9532 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.005815, allocations: 81.11 kB / 0.9533 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.005957, allocations: 125.8 kB / 0.9534 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.005975, allocations: 29.7 kB / 0.9534 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.006068, allocations: 111.9 kB / 0.9535 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-06/0.006077, allocations: 3.953 kB / 0.9535 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.006116, allocations: 21.7 kB / 0.9535 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.006271, allocations: 315.1 kB / 0.9538 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.006288, allocations: 8 kB / 0.9538 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.006318, allocations: 25.64 kB / 0.9539 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.006373, allocations: 25.72 kB / 0.9539 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.006374, allocations: 0 / 0.9539 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.539e-05/0.00647, allocations: 53.59 kB / 0.9539 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.006493, allocations: 10.19 kB / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006498, allocations: 0 / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.006517, allocations: 4 kB / 0.954 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.006584, allocations: 11.98 kB / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.006593, allocations: 7.938 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.006617, allocations: 0 / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.006624, allocations: 7.938 kB / 0.954 GB, free: 8.25 MB / 0.8575 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.313e-05/0.006717, allocations: 109.8 kB / 0.9541 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.006761, allocations: 11.95 kB / 0.9541 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.006781, allocations: 3.469 kB / 0.9541 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.006787, allocations: 4 kB / 0.9541 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.006797, allocations: 7.984 kB / 0.9541 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.006802, allocations: 3.938 kB / 0.9541 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.007294, allocations: 414.4 kB / 0.9545 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007295, allocations: 0 / 0.9545 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.007317, allocations: 7.984 kB / 0.9545 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007319, allocations: 0 / 0.9545 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.007328, allocations: 3.938 kB / 0.9545 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.007331, allocations: 3.938 kB / 0.9545 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.007334, allocations: 4 kB / 0.9545 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007436, allocations: 69.95 kB / 0.9546 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.007458, allocations: 11.94 kB / 0.9546 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.007475, allocations: 12.03 kB / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.007492, allocations: 0 / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.00751, allocations: 0 / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.007512, allocations: 0 / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.512e-05/0.007587, allocations: 106.8 kB / 0.9547 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.007587, allocations: 0 / 0.9547 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001871/0.007775, allocations: 12 kB / 0.9547 GB, free: 7.406 MB / 0.8575 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.0001402/0.007915, allocations: 91.25 kB / 0.9548 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.008017, allocations: 27.98 kB / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.00802, allocations: 0 / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.008032, allocations: 4 kB / 0.9549 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.008188, allocations: 7.938 kB / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.008604, allocations: 166.7 kB / 0.955 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.812e-05/0.008682, allocations: 75.19 kB / 0.9551 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.008709, allocations: 8.266 kB / 0.9551 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.008738, allocations: 16.5 kB / 0.9551 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.008739, allocations: 3.938 kB / 0.9551 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of Templates: time 0.003149/0.01189, allocations: 338.9 kB / 0.9554 GB, free: 6.625 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.341177593916655]