Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001002/0.001002, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.002195/0.002195, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9824/0.9824, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.543/2.543, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.385e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001561/0.001585, allocations: 0.8637 MB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001272/0.001712, allocations: 47.72 kB / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.001757, allocations: 0 / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.001792, allocations: 7.875 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.00187, allocations: 23.8 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.986e-05/0.00191, allocations: 15.98 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.77e-05/0.001998, allocations: 63.77 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.002101, allocations: 35.97 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.002197, allocations: 47.88 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.002236, allocations: 11.92 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.00225, allocations: 4 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-06/0.002256, allocations: 4 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.002277, allocations: 15.94 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.002299, allocations: 19.92 kB / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.662e-05/0.002386, allocations: 43.7 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.002388, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002389, allocations: 4 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.002392, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 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.0002644/0.002657, allocations: 284.6 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.002687, allocations: 8.625 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.002714, allocations: 12.94 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.002835, allocations: 133.6 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.002845, allocations: 8.375 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.002854, allocations: 4.375 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.83e-05/0.002942, allocations: 86.28 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.002949, allocations: 192 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.002957, allocations: 4.375 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.002963, allocations: 4.375 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.002991, allocations: 23.92 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.003335, allocations: 0.505 MB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.003389, allocations: 169.1 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.003412, allocations: 80.14 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.003429, allocations: 75.28 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.003462, allocations: 109.8 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.003463, allocations: 4 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.441e-05/0.003517, allocations: 33.62 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.003554, allocations: 126.7 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.00364, allocations: 144.8 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.003647, allocations: 29.7 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.003697, allocations: 127.8 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.003699, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.003728, allocations: 29.66 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.003804, allocations: 322.8 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.003812, allocations: 7.984 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.003843, allocations: 54.84 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.003894, allocations: 74.73 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.003896, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.733e-05/0.003994, allocations: 73.48 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.004006, allocations: 8.25 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.004012, allocations: 7.984 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.004025, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.813e-05/0.004073, allocations: 12 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.004078, allocations: 3.938 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.004104, allocations: 11.92 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.004108, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.632e-05/0.004175, allocations: 197 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.004212, allocations: 108.9 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.004249, allocations: 112.8 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/0.004287, allocations: 176.3 kB / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-05/0.004326, allocations: 184.2 kB / 0.843 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.06e-05/0.004367, allocations: 184.2 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.004505, allocations: 341.3 kB / 0.8435 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/0.004527, allocations: 101 kB / 0.8436 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.004552, allocations: 109 kB / 0.8437 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.949e-05/0.004591, allocations: 180.2 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.004633, allocations: 176.3 kB / 0.8441 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.979e-05/0.004673, allocations: 184.2 kB / 0.8442 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.883e-05/0.004712, allocations: 176.5 kB / 0.8444 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.806e-05/0.00481, allocations: 323.7 kB / 0.8447 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.004846, allocations: 112.9 kB / 0.8448 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.004891, allocations: 184.2 kB / 0.845 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.004937, allocations: 101 kB / 0.8451 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.00498, allocations: 180.3 kB / 0.8453 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.005007, allocations: 104.9 kB / 0.8454 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.005036, allocations: 34.03 kB / 0.8454 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005036, allocations: 0 / 0.8454 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001372/0.005174, allocations: 7.953 kB / 0.8454 GB, free: 6.793 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.213e-05/0.005266, allocations: 155.7 kB / 0.8456 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.667e-05/0.005322, allocations: 24.8 kB / 0.8456 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.005328, allocations: 4 kB / 0.8456 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.00533, allocations: 4 kB / 0.8456 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.005521, allocations: 467.5 kB / 0.846 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.005739, allocations: 228 kB / 0.8463 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.005769, allocations: 59.34 kB / 0.8463 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.005801, allocations: 9.234 kB / 0.8463 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.005828, allocations: 51.38 kB / 0.8464 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.005829, allocations: 0 / 0.8464 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of Templates: time 0.001756/0.007584, allocations: 340.7 kB / 0.8467 GB, free: 5.414 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.336324453353882]