Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001052/0.001052, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001152/0.001152, allocations: 166.9 kB / 24.87 MB, free: 8.867 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.9523/0.9523, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.929/1.929, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.821e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.004669/0.004687, allocations: 0.7859 MB / 0.8136 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000965/0.005652, allocations: 0.9069 MB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.005701, allocations: 0 / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.005732, allocations: 3.938 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.57e-05/0.005818, allocations: 16.89 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.005969, allocations: 43.83 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.006072, allocations: 84.55 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.006175, allocations: 15.98 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.006282, allocations: 57.56 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.006355, allocations: 39.88 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.00638, allocations: 8 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.006394, allocations: 8 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.006419, allocations: 15.98 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.006452, allocations: 29.44 kB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.006561, allocations: 63.73 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006564, allocations: 3.984 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006565, allocations: 0 / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.006568, allocations: 1.75 kB / 0.8148 GB, free: 15.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004186/0.006987, allocations: 404.4 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.007022, allocations: 8.031 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.007061, allocations: 12.89 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.01019, allocations: 129.6 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.01022, allocations: 4.375 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.01024, allocations: 4.375 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.01047, allocations: 97.42 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01049, allocations: 3.938 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.0105, allocations: 0 / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.0105, allocations: 0 / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.01057, allocations: 23.97 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.01105, allocations: 312.8 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.0114, allocations: 73.33 kB / 0.8158 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.01144, allocations: 19.67 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.01146, allocations: 4 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.01149, allocations: 33.92 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 3.857e-06/0.01149, allocations: 3.984 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002379/0.01173, allocations: 82.97 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.01177, allocations: 55.41 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.01188, allocations: 183 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.0119, allocations: 25.7 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.01196, allocations: 134.9 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.01199, allocations: 33.14 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.01204, allocations: 23.36 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.01222, allocations: 0.4884 MB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.01225, allocations: 7.984 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.01228, allocations: 12.5 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.058e-05/0.01236, allocations: 45.03 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01237, allocations: 0 / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001267/0.01249, allocations: 70.52 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.01251, allocations: 8.844 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01251, allocations: 3.938 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01252, allocations: 0 / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01262, allocations: 18.14 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.01262, allocations: 0 / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.01268, allocations: 11.98 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01269, allocations: 0 / 0.8171 GB, free: 12.89 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.535e-05/0.01278, allocations: 171.1 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.01281, allocations: 7.953 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.01284, allocations: 8.438 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01284, allocations: 0 / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01284, allocations: 0 / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01285, allocations: 3.984 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.013, allocations: 121.2 kB / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01301, allocations: 1.625 kB / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.01309, allocations: 23.92 kB / 0.8174 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01309, allocations: 0 / 0.8174 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.0131, allocations: 3.984 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0131, allocations: 4.5 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0131, allocations: 0 / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.01328, allocations: 220.3 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.0133, allocations: 17.42 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.01331, allocations: 4 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.01339, allocations: 8 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.01346, allocations: 24.8 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01346, allocations: 4 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.01352, allocations: 135.2 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01352, allocations: 0.6562 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002217/0.01374, allocations: 19.69 kB / 0.8178 GB, free: 12.08 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 8.885e-05/0.01383, allocations: 91.25 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.01395, allocations: 39.66 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01395, allocations: 0 / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.01399, allocations: 39.61 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.01418, allocations: 15.98 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.01444, allocations: 172.5 kB / 0.8181 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.01447, allocations: 63.34 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.01451, allocations: 11.17 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.01459, allocations: 91.25 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01459, allocations: 0 / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.00316/0.01775, allocations: 1.884 MB / 0.8201 GB, free: 9.656 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_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.164884504396468]