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.001097/0.001097, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0018/0.0018, allocations: 161 kB / 23.82 MB, free: 0.75 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.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.914/1.914, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.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 2.124e-06/2.124e-06, allocations: 0 / 0.8115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.642e-05, allocations: 6.25 kB / 0.8115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001568/0.001595, allocations: 0.7898 MB / 0.8123 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009685/0.002563, allocations: 0.9029 MB / 0.8132 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.002608, allocations: 0 / 0.8132 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.002644, allocations: 7.922 kB / 0.8132 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.002732, allocations: 12.69 kB / 0.8132 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.002905, allocations: 43.88 kB / 0.8133 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.003005, allocations: 88.61 kB / 0.8133 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.003123, allocations: 23.97 kB / 0.8134 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.003221, allocations: 45.59 kB / 0.8134 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.003294, allocations: 39.88 kB / 0.8134 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.003319, allocations: 8 kB / 0.8135 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.003332, allocations: 8 kB / 0.8135 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.003359, allocations: 25.45 kB / 0.8135 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.003394, allocations: 23.91 kB / 0.8135 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003515, allocations: 71.72 kB / 0.8136 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.003518, allocations: 0 / 0.8136 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003519, allocations: 1.375 kB / 0.8136 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.003525, allocations: 0 / 0.8136 GB, free: 14.5 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004742/0.003999, allocations: 400 kB / 0.814 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.004039, allocations: 9.781 kB / 0.814 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.004088, allocations: 16.89 kB / 0.814 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.004199, allocations: 128.4 kB / 0.8141 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.004225, allocations: 12.31 kB / 0.8141 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.004242, allocations: 4.375 kB / 0.8141 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.00444, allocations: 95.98 kB / 0.8142 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.004453, allocations: 3.938 kB / 0.8142 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.004466, allocations: 0.9688 kB / 0.8142 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.004477, allocations: 4 kB / 0.8142 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.00455, allocations: 28.58 kB / 0.8143 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.005004, allocations: 329.8 kB / 0.8146 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.005319, allocations: 75.14 kB / 0.8146 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.005368, allocations: 27.67 kB / 0.8147 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.005387, allocations: 0 / 0.8147 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.005413, allocations: 41.92 kB / 0.8147 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005414, allocations: 0.7188 kB / 0.8147 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002288/0.005643, allocations: 90.08 kB / 0.8148 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.005674, allocations: 56.94 kB / 0.8148 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.005772, allocations: 181.9 kB / 0.815 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.005787, allocations: 25.7 kB / 0.815 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.005839, allocations: 138.8 kB / 0.8152 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.005865, allocations: 24.41 kB / 0.8152 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.005904, allocations: 27.38 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.006028, allocations: 0.4969 MB / 0.8157 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.006065, allocations: 7.984 kB / 0.8157 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.006095, allocations: 16.92 kB / 0.8157 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.006165, allocations: 40.17 kB / 0.8158 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006167, allocations: 0.7188 kB / 0.8158 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001123/0.00628, allocations: 78.42 kB / 0.8158 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.006293, allocations: 4 kB / 0.8159 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.006298, allocations: 0.9375 kB / 0.8159 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.006314, allocations: 4 kB / 0.8159 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.0064, allocations: 17.2 kB / 0.8159 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.006406, allocations: 0 / 0.8159 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.006448, allocations: 15.98 kB / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.006456, allocations: 4.969 kB / 0.8159 GB, free: 11.95 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: 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 7.897e-05/0.006535, allocations: 160.5 kB / 0.816 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.006559, allocations: 14.17 kB / 0.8161 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.006589, allocations: 12.44 kB / 0.8161 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006591, allocations: 0 / 0.8161 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.006595, allocations: 0 / 0.8161 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006598, allocations: 3.984 kB / 0.8161 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.006724, allocations: 136.6 kB / 0.8162 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006726, allocations: 3.219 kB / 0.8162 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.136e-05/0.006787, allocations: 19.97 kB / 0.8162 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006789, allocations: 0 / 0.8162 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.006799, allocations: 11.94 kB / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.0068, allocations: 0 / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006801, allocations: 0 / 0.8162 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.006969, allocations: 227.7 kB / 0.8165 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.006982, allocations: 11.95 kB / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.006995, allocations: 1.125 kB / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.007049, allocations: 7.984 kB / 0.8165 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.007115, allocations: 27.97 kB / 0.8165 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.00712, allocations: 0.5312 kB / 0.8165 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.007164, allocations: 139.7 kB / 0.8166 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007164, allocations: 0 / 0.8166 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001558/0.00732, allocations: 16.5 kB / 0.8167 GB, free: 11.11 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: 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 9.42e-05/0.007414, allocations: 100.9 kB / 0.8167 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.007549, allocations: 47.61 kB / 0.8168 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.00755, allocations: 1.188 kB / 0.8168 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.728e-05/0.007607, allocations: 35.66 kB / 0.8168 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.007827, allocations: 17.03 kB / 0.8168 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.008173, allocations: 179.3 kB / 0.817 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.00821, allocations: 60.25 kB / 0.8171 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.008249, allocations: 11.22 kB / 0.8171 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.008305, allocations: 25.55 kB / 0.8171 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.008305, allocations: 0 / 0.8171 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.003629/0.01193, allocations: 1.724 MB / 0.8188 GB, free: 8.895 MB / 0.7292 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.299934850074351]