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.001229/0.001229, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009997/0.0009997, allocations: 169 kB / 24.28 MB, free: 276 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.9656/0.9656, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.907/1.907, allocations: 377.8 MB / 0.6239 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.473e-06/1.473e-06, allocations: 0 / 0.8116 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.382e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001186/0.00121, allocations: 0.7142 MB / 0.8123 GB, free: 140 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.002392, allocations: 0.8521 MB / 0.8131 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.002439, allocations: 1.406 kB / 0.8131 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.002467, allocations: 3.938 kB / 0.8131 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.002531, allocations: 7.875 kB / 0.8131 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.816e-05/0.002599, allocations: 13.23 kB / 0.8131 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.002686, allocations: 47.84 kB / 0.8132 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.002787, allocations: 4 kB / 0.8132 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.002884, allocations: 33.78 kB / 0.8132 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.00293, allocations: 15.97 kB / 0.8132 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.00296, allocations: 4 kB / 0.8132 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.00297, allocations: 4 kB / 0.8132 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.00299, allocations: 4 kB / 0.8133 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.00302, allocations: 16.64 kB / 0.8133 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.717e-05/0.003107, allocations: 23.97 kB / 0.8133 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003109, allocations: 0.7812 kB / 0.8133 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00311, allocations: 0 / 0.8133 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003114, allocations: 1.25 kB / 0.8133 GB, free: 15.1 MB / 0.7292 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.0003678/0.003481, allocations: 380.2 kB / 0.8137 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.003516, allocations: 11.97 kB / 0.8137 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.003553, allocations: 9.609 kB / 0.8137 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.003642, allocations: 120.5 kB / 0.8138 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.003652, allocations: 1.281 kB / 0.8138 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.003662, allocations: 4.375 kB / 0.8138 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.003789, allocations: 63.59 kB / 0.8139 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.003795, allocations: 0.75 kB / 0.8139 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.003804, allocations: 384 / 0.8139 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.003812, allocations: 1.625 kB / 0.8139 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.003848, allocations: 19.91 kB / 0.8139 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.004134, allocations: 263.8 kB / 0.8141 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.484e-05/0.004199, allocations: 37.31 kB / 0.8142 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.00423, allocations: 15.77 kB / 0.8142 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.004237, allocations: 0 / 0.8142 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.004256, allocations: 37.39 kB / 0.8142 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.004257, allocations: 4 kB / 0.8142 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000141/0.004398, allocations: 50.28 kB / 0.8143 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.004426, allocations: 51.41 kB / 0.8143 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.004497, allocations: 171.5 kB / 0.8145 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.004506, allocations: 25.7 kB / 0.8145 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.004548, allocations: 134.8 kB / 0.8146 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.004567, allocations: 11.89 kB / 0.8146 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.004593, allocations: 24.52 kB / 0.8147 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.004697, allocations: 496.1 kB / 0.8151 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.004714, allocations: 4 kB / 0.8151 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.004726, allocations: 0.5625 kB / 0.8151 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.447e-05/0.004761, allocations: 24.89 kB / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004762, allocations: 0 / 0.8152 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.605e-05/0.004818, allocations: 41.64 kB / 0.8152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.004831, allocations: 7.938 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.004839, allocations: 1.375 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.004852, allocations: 0 / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.331e-05/0.004925, allocations: 11.98 kB / 0.8152 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.00493, allocations: 0.5312 kB / 0.8152 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.004955, allocations: 16.47 kB / 0.8152 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.004959, allocations: 0.875 kB / 0.8152 GB, free: 12.9 MB / 0.7292 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 5.657e-05/0.005016, allocations: 160.5 kB / 0.8154 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.00503, allocations: 4.812 kB / 0.8154 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.005052, allocations: 15.94 kB / 0.8154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005053, allocations: 0.5312 kB / 0.8154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.005056, allocations: 0 / 0.8154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005059, allocations: 1.375 kB / 0.8154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.75e-05/0.005146, allocations: 120.6 kB / 0.8155 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.005147, allocations: 0 / 0.8155 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.005175, allocations: 13.2 kB / 0.8155 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005176, allocations: 0 / 0.8155 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.005181, allocations: 0 / 0.8155 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.005184, allocations: 8.531 kB / 0.8156 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005185, allocations: 0 / 0.8156 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.477e-05/0.00528, allocations: 196.9 kB / 0.8157 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-06/0.005286, allocations: 4.031 kB / 0.8157 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.005296, allocations: 0.5625 kB / 0.8157 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.005336, allocations: 13.3 kB / 0.8158 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.005379, allocations: 8 kB / 0.8158 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.005381, allocations: 0 / 0.8158 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.005417, allocations: 127.2 kB / 0.8159 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005417, allocations: 0.9062 kB / 0.8159 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001463/0.005564, allocations: 12 kB / 0.8159 GB, free: 12.17 MB / 0.7292 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 7.776e-05/0.005641, allocations: 96.09 kB / 0.816 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.005733, allocations: 24.89 kB / 0.816 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.005734, allocations: 0 / 0.816 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.005761, allocations: 11.69 kB / 0.816 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.005957, allocations: 12.52 kB / 0.816 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.006224, allocations: 132.6 kB / 0.8162 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.006257, allocations: 55.34 kB / 0.8162 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.949e-05/0.006277, allocations: 4 kB / 0.8162 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.006301, allocations: 9.375 kB / 0.8162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of SimCode: time 6.42e-07/0.006302, allocations: 0 / 0.8162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.002199/0.008501, allocations: 0.7538 MB / 0.817 GB, free: 11.05 MB / 0.7292 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.169452156173065]