Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001004/0.001004, 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.001125/0.001125, 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 1.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.587/2.587, allocations: 438.8 MB / 0.6826 GB, free: 13.58 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.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.8387 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.057e-05, allocations: 4.984 kB / 0.8387 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00246/0.00249, allocations: 0.7615 MB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.00368, allocations: 0.843 MB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.003723, allocations: 4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.003757, allocations: 7.938 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.003843, allocations: 3.938 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.99e-05/0.003913, allocations: 11.98 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.004006, allocations: 43.86 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.0041, allocations: 11.98 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.004195, allocations: 19.92 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.004247, allocations: 27.89 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.004265, allocations: 4 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/0.004273, allocations: 8 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.004292, allocations: 4 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.004321, allocations: 15.92 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.602e-05/0.004407, allocations: 23.91 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.00441, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004411, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.004416, allocations: 0 / 0.8404 GB, free: 12.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003482/0.004764, allocations: 256.9 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004803, allocations: 8.625 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.00483, allocations: 4.938 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.985e-05/0.00493, allocations: 117.8 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.00494, allocations: 384 / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.004948, allocations: 384 / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.005097, allocations: 74.86 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005105, allocations: 192 / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.005112, allocations: 384 / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.005119, allocations: 384 / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.005148, allocations: 15.86 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.005404, allocations: 152.2 kB / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.205e-05/0.005466, allocations: 26.52 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.00549, allocations: 12.86 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.005498, allocations: 4.094 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.005524, allocations: 34.55 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.005525, allocations: 0 / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001329/0.005658, allocations: 49.61 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.005691, allocations: 51.41 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.005766, allocations: 122.7 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.005778, allocations: 25.7 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.005816, allocations: 84.14 kB / 0.8414 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.005837, allocations: 11.84 kB / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.005872, allocations: 17.72 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.005969, allocations: 322.8 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.005984, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.005999, allocations: 8 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.006033, allocations: 16.84 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006035, allocations: 0 / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.12e-05/0.006106, allocations: 41.69 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.00612, allocations: 4 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006125, allocations: 0 / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.006145, allocations: 3.938 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.006235, allocations: 15.94 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.006238, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.006273, allocations: 7.984 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.006279, allocations: 4 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.056e-05/0.00634, allocations: 109.8 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.006361, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.006383, allocations: 15.98 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.006386, allocations: 3.938 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006388, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.006391, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.006516, allocations: 73.89 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.006518, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.006576, allocations: 15.92 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.006578, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.006583, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.006584, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.006587, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.0067, allocations: 139.4 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.00671, allocations: 7.984 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.00672, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.006784, allocations: 4 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.006823, allocations: 11.98 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.006828, allocations: 3.938 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.961e-05/0.006847, allocations: 12.84 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.006847, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002037/0.007051, allocations: 15.95 kB / 0.8423 GB, free: 10.18 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 (3): * Single equations (assignments): 3 * 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.0001092/0.00716, allocations: 76.41 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.007234, allocations: 13.23 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.007237, allocations: 0 / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.007265, allocations: 16.8 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.007473, allocations: 21.98 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.007757, allocations: 116.7 kB / 0.8425 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.007799, allocations: 67.28 kB / 0.8426 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.007824, allocations: 0 / 0.8426 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.007885, allocations: 55.38 kB / 0.8426 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.007886, allocations: 0 / 0.8426 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of Templates: time 0.002821/0.01071, allocations: 0.6865 MB / 0.8433 GB, free: 9.078 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.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.5070724710822105]