Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.0009612/0.0009612, allocations: 80.94 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.001374/0.001374, allocations: 177 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.9941/0.9941, allocations: 177.2 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.329/2.329, allocations: 438.8 MB / 0.6826 GB, free: 13.55 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.494e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001248/0.001263, allocations: 0.8101 MB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001082/0.001371, allocations: 43.72 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.001413, allocations: 4 kB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.001443, allocations: 7.875 kB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.001502, allocations: 11.88 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.304e-05/0.001545, allocations: 19.97 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.981e-05/0.001625, allocations: 63.78 kB / 0.8395 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.001717, allocations: 31.95 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.001788, allocations: 39.91 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.001829, allocations: 23.91 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.001845, allocations: 4 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-06/0.001852, allocations: 4 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.001869, allocations: 15.92 kB / 0.8396 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.001889, allocations: 15.94 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.341e-05/0.001963, allocations: 39.77 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001964, allocations: 0 / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.41e-07/0.001965, allocations: 0 / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.001968, allocations: 4 kB / 0.8397 GB, free: 13.02 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.0002551/0.002223, allocations: 284.5 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.002254, allocations: 16.62 kB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.002281, allocations: 12.94 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.002394, allocations: 129.7 kB / 0.8401 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.002404, allocations: 4.375 kB / 0.8401 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.002416, allocations: 8.375 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/0.002501, allocations: 87.7 kB / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.00251, allocations: 192 / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.002518, allocations: 4.375 kB / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.002524, allocations: 4.375 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.002552, allocations: 31.84 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.002893, allocations: 0.5011 MB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.002947, allocations: 173.1 kB / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.002968, allocations: 80.14 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.002987, allocations: 79.27 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.003016, allocations: 105.8 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.003016, allocations: 0 / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.237e-05/0.003059, allocations: 33.73 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.003103, allocations: 130.7 kB / 0.8413 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.003177, allocations: 140.5 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.003184, allocations: 25.7 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.003233, allocations: 131.8 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.003235, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.003262, allocations: 33.64 kB / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.003342, allocations: 322.8 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-06/0.003348, allocations: 4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.00338, allocations: 50.86 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.003441, allocations: 78.72 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003442, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.992e-05/0.003532, allocations: 69.5 kB / 0.8421 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.003547, allocations: 11.98 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.003552, allocations: 0 / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.003566, allocations: 4.25 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.003615, allocations: 19.94 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.003621, allocations: 4.141 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.003643, allocations: 7.938 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.00365, allocations: 4 kB / 0.8422 GB, free: 10.24 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 8.159e-05/0.003732, allocations: 193.1 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.003769, allocations: 112.9 kB / 0.8425 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.003804, allocations: 104.8 kB / 0.8426 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/0.003844, allocations: 184.2 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004584/0.004302, allocations: 184.1 kB / 0.8429 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/0.004336, allocations: 180.3 kB / 0.8431 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.004458, allocations: 341.3 kB / 0.8434 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.004479, allocations: 101 kB / 0.8435 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.0045, allocations: 101 kB / 0.8436 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.64e-05/0.004537, allocations: 188.2 kB / 0.8438 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.00458, allocations: 180.2 kB / 0.844 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.819e-05/0.004618, allocations: 184.2 kB / 0.8442 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.592e-05/0.004654, allocations: 180.5 kB / 0.8443 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.791e-05/0.004742, allocations: 319.7 kB / 0.8446 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.004774, allocations: 108.9 kB / 0.8447 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.004814, allocations: 180.2 kB / 0.8449 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.004855, allocations: 105 kB / 0.845 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.004895, allocations: 188.2 kB / 0.8452 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.004916, allocations: 105 kB / 0.8453 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.004939, allocations: 28.83 kB / 0.8453 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004939, allocations: 0 / 0.8453 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001257/0.005064, allocations: 11.95 kB / 0.8453 GB, free: 6.848 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.504e-05/0.005139, allocations: 151.7 kB / 0.8455 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.141e-05/0.005191, allocations: 29.09 kB / 0.8455 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.005194, allocations: 4.188 kB / 0.8455 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.005196, allocations: 3.938 kB / 0.8455 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.005374, allocations: 465.3 kB / 0.8459 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.005574, allocations: 224 kB / 0.8462 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.005603, allocations: 59.34 kB / 0.8462 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.00563, allocations: 8.719 kB / 0.8462 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.005655, allocations: 55.38 kB / 0.8463 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.005656, allocations: 0 / 0.8463 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of Templates: time 0.001514/0.00717, allocations: 336.6 kB / 0.8466 GB, free: 5.477 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.281127245165408]