Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.00104/0.00104, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001162/0.001162, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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.9784/0.9784, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.906/1.906, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.898e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002008/0.002037, allocations: 0.7902 MB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003164, allocations: 0.8999 MB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.003215, allocations: 4 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/0.003255, allocations: 7.922 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.259e-05/0.003348, allocations: 15.8 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.00356, allocations: 41.42 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003686, allocations: 87.81 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.003806, allocations: 11.98 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.003922, allocations: 55.89 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.004001, allocations: 37.45 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.004028, allocations: 8 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.004046, allocations: 8 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.004073, allocations: 19.91 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.004114, allocations: 24.8 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.00425, allocations: 71.7 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004252, allocations: 0.8125 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.363e-06/0.004254, allocations: 0 / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.004257, allocations: 4.625 kB / 0.8136 GB, free: 15.66 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.0005136/0.004771, allocations: 401.1 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.004814, allocations: 12.03 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.004865, allocations: 9.578 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.004978, allocations: 124.5 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.005003, allocations: 8.812 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.005022, allocations: 5.156 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.005245, allocations: 99.27 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.005258, allocations: 3.938 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.005273, allocations: 4 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.005281, allocations: 0 / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.965e-05/0.005371, allocations: 25.73 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.005845, allocations: 335.4 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.006241, allocations: 80.23 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.006304, allocations: 28.23 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.006326, allocations: 0.9062 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.00635, allocations: 37.33 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.006351, allocations: 0 / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002779/0.006629, allocations: 82.64 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.006662, allocations: 57.78 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.006766, allocations: 181.9 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.006781, allocations: 25.7 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.006836, allocations: 138.9 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.006864, allocations: 23.78 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.006913, allocations: 31.36 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.007042, allocations: 0.4883 MB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.007088, allocations: 20.5 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.007125, allocations: 8.719 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.007213, allocations: 40.61 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.007217, allocations: 5.594 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001485/0.007365, allocations: 77.61 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.007379, allocations: 4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007384, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.0074, allocations: 0.8125 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.007504, allocations: 16.92 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.007513, allocations: 4 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.007566, allocations: 7.984 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.007575, allocations: 1.219 kB / 0.8159 GB, free: 13.12 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,add1.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 0.0002303/0.007805, allocations: 172.5 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.007839, allocations: 8.859 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.007871, allocations: 8.438 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.007874, allocations: 4 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.00788, allocations: 6.203 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.007884, allocations: 3.984 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.008049, allocations: 144.5 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.00805, allocations: 3.938 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.008136, allocations: 19.98 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.008139, allocations: 3.188 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.008149, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.00815, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008151, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.008353, allocations: 227.8 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.00837, allocations: 15.89 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.00839, allocations: 7.984 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.008476, allocations: 4 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.008553, allocations: 21.16 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.008562, allocations: 4 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.008617, allocations: 135.6 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008617, allocations: 0.5938 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002415/0.008859, allocations: 16 kB / 0.8166 GB, free: 12.27 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 (add1.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.977e-05/0.008959, allocations: 103.3 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.009118, allocations: 44.61 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.00912, allocations: 0 / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.00919, allocations: 40.28 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.009468, allocations: 17.92 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.009864, allocations: 172 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.009918, allocations: 63.34 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.773e-05/0.009976, allocations: 7.75 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.01005, allocations: 24.48 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.01005, allocations: 0 / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.004061/0.01411, allocations: 1.715 MB / 0.8188 GB, free: 10.06 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.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.4546972112730145]