Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.0009722/0.0009722, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00154/0.00154, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.015/1.015, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.595/2.595, allocations: 438.8 MB / 0.6826 GB, free: 13.57 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.549e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002388/0.002414, allocations: 0.8605 MB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.002584, allocations: 43.73 kB / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.002641, allocations: 0 / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.00268, allocations: 11.88 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.002772, allocations: 23.84 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.965e-05/0.002821, allocations: 15.98 kB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.002931, allocations: 55.84 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.00306, allocations: 35.95 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.003186, allocations: 47.78 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.00323, allocations: 19.91 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.003246, allocations: 4 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.003255, allocations: 4 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.003278, allocations: 15.92 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.003303, allocations: 16 kB / 0.8398 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.003402, allocations: 43.7 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003404, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003405, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00341, 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.0003153/0.003725, allocations: 284.6 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.003763, allocations: 12.62 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.003796, allocations: 12.94 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.003942, allocations: 133.6 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.003953, allocations: 4.375 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.003971, allocations: 12.38 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.004085, allocations: 87.77 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.004093, allocations: 192 / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.0041, allocations: 384 / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.004107, allocations: 4.375 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.004147, allocations: 19.92 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.004568, allocations: 0.4971 MB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.004638, allocations: 177.3 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.004668, allocations: 84.14 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.004691, allocations: 79.28 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.004732, allocations: 105.8 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.004733, allocations: 0 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.595e-05/0.004799, allocations: 33.69 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.004847, allocations: 130.6 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.004962, allocations: 144.5 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.004972, allocations: 29.64 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.005043, allocations: 127.8 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.005046, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.005089, allocations: 33.64 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.005191, allocations: 322.8 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.005203, allocations: 8 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.664e-05/0.00525, allocations: 58.84 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/0.005337, allocations: 70.72 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.00534, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001236/0.005464, allocations: 77.48 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.005481, allocations: 9.875 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.005488, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.005503, allocations: 4 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.005565, allocations: 12 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.005569, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.005609, allocations: 7.938 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.005615, allocations: 4.25 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 9.071e-05/0.005706, allocations: 205 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.005767, allocations: 105 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.005829, allocations: 116.7 kB / 0.8427 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.306e-05/0.005882, allocations: 180.3 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.586e-05/0.005938, allocations: 180.3 kB / 0.843 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.142e-05/0.005989, allocations: 184.2 kB / 0.8432 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.006179, allocations: 329.4 kB / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.529e-05/0.006215, allocations: 104.9 kB / 0.8436 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.006247, allocations: 105 kB / 0.8437 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.442e-05/0.006301, allocations: 184.2 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/0.006517, allocations: 180.2 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.963e-05/0.006567, allocations: 180.3 kB / 0.8442 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.006e-05/0.006617, allocations: 184.4 kB / 0.8444 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.006738, allocations: 323.7 kB / 0.8447 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.006798, allocations: 108.9 kB / 0.8448 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.006859, allocations: 176.3 kB / 0.845 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.006935, allocations: 108.9 kB / 0.8451 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.006989, allocations: 180.3 kB / 0.8453 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.007021, allocations: 112.9 kB / 0.8454 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.007056, allocations: 26.2 kB / 0.8454 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007057, allocations: 4 kB / 0.8454 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000235/0.007292, allocations: 11.95 kB / 0.8454 GB, free: 6.781 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 0.0001297/0.007421, allocations: 155.7 kB / 0.8456 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.757e-05/0.007499, allocations: 24.8 kB / 0.8456 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.007503, allocations: 0 / 0.8456 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.007505, allocations: 0 / 0.8456 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.007798, allocations: 470 kB / 0.846 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.008086, allocations: 231.9 kB / 0.8463 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.758e-05/0.008134, allocations: 63.34 kB / 0.8463 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.008177, allocations: 0.7344 kB / 0.8463 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.008217, allocations: 55.38 kB / 0.8464 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/0.008218, allocations: 0 / 0.8464 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of Templates: time 0.002382/0.0106, allocations: 344.5 kB / 0.8467 GB, free: 5.402 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.396267290692776]