Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001076/0.001076, allocations: 77.88 kB / 20.68 MB, free: 3.809 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.001252/0.001252, allocations: 181 kB / 24.09 MB, free: 412 kB / 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.9758/0.9758, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.9 MB / 0.6239 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 0 / 0.8121 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.527e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002231/0.002266, allocations: 0.7172 MB / 0.8128 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004068, allocations: 0.8477 MB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.004119, allocations: 1.594 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.004153, allocations: 3.938 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.004237, allocations: 7.938 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.091e-05/0.004307, allocations: 7.984 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.004402, allocations: 49.53 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004511, allocations: 0 / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004636, allocations: 35.84 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.004687, allocations: 19.97 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.004714, allocations: 5.75 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.004722, allocations: 0 / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.004743, allocations: 11.94 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.004773, allocations: 11.98 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.746e-05/0.004871, allocations: 27.84 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.004874, allocations: 1.281 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.403e-06/0.004875, allocations: 0 / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004879, allocations: 0 / 0.8138 GB, free: 15.67 MB / 0.7761 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.0004301/0.005309, allocations: 378.5 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.005358, allocations: 12.03 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.00539, allocations: 4.891 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.005495, allocations: 112.6 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.005511, allocations: 8.359 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.005521, allocations: 6.844 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.005673, allocations: 62.88 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005681, allocations: 192 / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.00569, allocations: 4.375 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.005697, allocations: 4.375 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.005726, allocations: 11.92 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.006021, allocations: 245.1 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.087e-05/0.006091, allocations: 27.59 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.006122, allocations: 29.34 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.006131, allocations: 0 / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.006156, allocations: 33.39 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.006157, allocations: 0 / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001626/0.00632, allocations: 50.28 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.006353, allocations: 51.41 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.006448, allocations: 167.1 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.006465, allocations: 29.7 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.006522, allocations: 134.8 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.006548, allocations: 5.109 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.006589, allocations: 19.38 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.006744, allocations: 0.4884 MB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.00676, allocations: 13.25 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.006774, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.006809, allocations: 19.69 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006811, allocations: 0 / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.193e-05/0.006893, allocations: 42.8 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.006908, allocations: 8 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.006913, allocations: 0 / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.006928, allocations: 4.562 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.007016, allocations: 12.7 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.007019, allocations: 3.938 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.007051, allocations: 4.844 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.007057, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 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 9.396e-05/0.007151, allocations: 166.4 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.007175, allocations: 0 / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.007205, allocations: 8 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.007209, allocations: 3.938 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.007211, allocations: 0 / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007213, allocations: 0.7812 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.007357, allocations: 105.2 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.007362, allocations: 10.38 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.007409, allocations: 4 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.007413, allocations: 4 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.00742, allocations: 3.984 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.007421, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007422, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.007576, allocations: 202.1 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.007585, allocations: 4.031 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.007595, allocations: 4 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.00766, allocations: 4 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.007698, allocations: 7.922 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.007701, allocations: 0.5 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.788e-05/0.007759, allocations: 140.8 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007759, allocations: 0 / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002571/0.008016, allocations: 4 kB / 0.8163 GB, free: 12.81 MB / 0.7761 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.0001471/0.008164, allocations: 95.97 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.008251, allocations: 20.33 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.008253, allocations: 3.938 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.008282, allocations: 23.23 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.00858, allocations: 11.94 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.008903, allocations: 138.2 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.008943, allocations: 51.36 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.008973, allocations: 6.062 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.009045, allocations: 74.19 kB / 0.8167 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.009046, allocations: 0 / 0.8167 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of Templates: time 0.00312/0.01217, allocations: 0.798 MB / 0.8175 GB, free: 11.56 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.155092305038124]