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.0009778/0.0009778, 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.001418/0.001418, 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.9627/0.9627, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.358/2.358, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.543e-06/1.543e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.469e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001511/0.001525, allocations: 0.8202 MB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001275/0.001653, allocations: 43.72 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.001698, allocations: 8 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.00173, allocations: 7.875 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.001802, allocations: 11.88 kB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.541e-05/0.001847, allocations: 27.89 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.264e-05/0.00194, allocations: 63.78 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.614e-05/0.002036, allocations: 27.97 kB / 0.8396 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-05/0.00213, allocations: 43.89 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.77e-05/0.002167, allocations: 15.92 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.002184, allocations: 4 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.002193, allocations: 8 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.002212, allocations: 19.91 kB / 0.8397 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.002235, allocations: 15.94 kB / 0.8397 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.631e-05/0.002322, allocations: 39.83 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002323, allocations: 3.938 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002324, allocations: 0 / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.002327, allocations: 0 / 0.8397 GB, free: 13.08 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.000281/0.002608, allocations: 284.5 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.002641, allocations: 8.625 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.00267, allocations: 12.94 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.00279, allocations: 133.7 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.002798, allocations: 8.312 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.002811, allocations: 12.38 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.002904, allocations: 87.77 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.002911, allocations: 192 / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.002918, allocations: 384 / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.002923, allocations: 4.375 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.011e-05/0.002953, allocations: 19.92 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.003309, allocations: 0.5011 MB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.4e-05/0.003373, allocations: 173.1 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.003395, allocations: 80.14 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.003417, allocations: 83.27 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.00345, allocations: 109.8 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.72e-07/0.003451, allocations: 0 / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.828e-05/0.003499, allocations: 29.64 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.003544, allocations: 134.7 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.003633, allocations: 145.7 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-06/0.00364, allocations: 25.7 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.003693, allocations: 123.8 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.003694, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.003728, allocations: 29.66 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.003806, allocations: 326.8 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-06/0.003812, allocations: 4 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.004065, allocations: 66.83 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.004124, allocations: 62.73 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.004126, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.004233, allocations: 77.48 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004244, allocations: 8 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004248, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.00426, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.004306, allocations: 12 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.004311, allocations: 7.938 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.004341, allocations: 7.938 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.004345, allocations: 8.25 kB / 0.8422 GB, free: 10.3 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 7.137e-05/0.004417, allocations: 197 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.004461, allocations: 109 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.004497, allocations: 116.7 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.03e-05/0.004537, allocations: 180.2 kB / 0.8428 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-05/0.004578, allocations: 184.2 kB / 0.8429 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.145e-05/0.004619, allocations: 180.3 kB / 0.8431 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.004773, allocations: 333.3 kB / 0.8434 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/0.004799, allocations: 105 kB / 0.8435 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.004821, allocations: 101 kB / 0.8436 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-05/0.004863, allocations: 184.2 kB / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.004906, allocations: 184.2 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.061e-05/0.004946, allocations: 180.2 kB / 0.8442 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.989e-05/0.004986, allocations: 180.5 kB / 0.8443 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.005089, allocations: 319.7 kB / 0.8446 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.005128, allocations: 112.9 kB / 0.8447 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.005176, allocations: 180.2 kB / 0.8449 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.005238, allocations: 109 kB / 0.845 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.005282, allocations: 180.3 kB / 0.8452 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.005307, allocations: 104.9 kB / 0.8453 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.592e-05/0.005333, allocations: 27.08 kB / 0.8453 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005333, allocations: 4 kB / 0.8453 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001984/0.005531, allocations: 7.953 kB / 0.8453 GB, free: 6.918 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 7.99e-05/0.005611, allocations: 151.7 kB / 0.8455 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.005669, allocations: 32.77 kB / 0.8455 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.005673, allocations: 4 kB / 0.8455 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.005674, allocations: 0 / 0.8455 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.005895, allocations: 468.1 kB / 0.846 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.006112, allocations: 224 kB / 0.8462 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.006146, allocations: 59.34 kB / 0.8462 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.006177, allocations: 8.719 kB / 0.8462 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.006205, allocations: 51.38 kB / 0.8463 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.006206, allocations: 0 / 0.8463 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of Templates: time 0.001773/0.007978, allocations: 348.6 kB / 0.8466 GB, free: 5.535 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 -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.128754945937544]