Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.0009446/0.0009446, allocations: 83.59 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.0009207/0.0009207, allocations: 161.4 kB / 23.82 MB, free: 0.7461 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.9474/0.9474, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.624e-05, allocations: 3.312 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001378/0.001404, allocations: 0.7208 MB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007904/0.002195, allocations: 0.8525 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.002234, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.002262, allocations: 5.719 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.002327, allocations: 7.875 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.044e-05/0.002387, allocations: 15.98 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.181e-05/0.002459, allocations: 43.84 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.384e-05/0.002543, allocations: 12.58 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.002614, allocations: 27.91 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.237e-05/0.002647, allocations: 12.7 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.002666, allocations: 4 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.482e-06/0.002672, allocations: 5.156 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.002688, allocations: 7.984 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.002711, allocations: 11.94 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.379e-05/0.002785, allocations: 32.45 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.002787, allocations: 2.781 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002788, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.002793, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 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.0003394/0.003132, allocations: 376.6 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.003173, allocations: 8.031 kB / 0.7892 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.003206, allocations: 12.83 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.019e-05/0.003286, allocations: 116.6 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.003295, allocations: 1.812 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.003307, allocations: 12.31 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.003429, allocations: 58.94 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.003436, allocations: 0.7812 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.003446, allocations: 4.375 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.003452, allocations: 1.25 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.95e-05/0.003482, allocations: 7.938 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.003764, allocations: 264.6 kB / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.003831, allocations: 36.8 kB / 0.7897 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.003859, allocations: 23.67 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.003867, allocations: 0 / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.003887, allocations: 33.39 kB / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.003888, allocations: 0 / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001388/0.004026, allocations: 55.25 kB / 0.7898 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.004055, allocations: 55.34 kB / 0.7899 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.004135, allocations: 165.9 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.004146, allocations: 25.7 kB / 0.7901 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.00419, allocations: 140.7 kB / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.004207, allocations: 7.938 kB / 0.7902 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.004234, allocations: 23.38 kB / 0.7902 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.004342, allocations: 492.1 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.00436, allocations: 8 kB / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.319e-05/0.004373, allocations: 6.516 kB / 0.7907 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.004405, allocations: 19.69 kB / 0.7907 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004406, allocations: 0 / 0.7907 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.101e-05/0.004467, allocations: 45.59 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.004484, allocations: 15.92 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.004488, allocations: 0 / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.004499, allocations: 0 / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.004571, allocations: 8.531 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004576, allocations: 0.7188 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.0046, allocations: 7.984 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.004606, allocations: 0.5312 kB / 0.7908 GB, free: 8.484 MB / 0.7448 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 6.039e-05/0.004667, allocations: 158.2 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.00468, allocations: 3.938 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.004703, allocations: 15.94 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004704, allocations: 0 / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.004707, allocations: 0.625 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00471, allocations: 0.6875 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.197e-05/0.004802, allocations: 124.6 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.004805, allocations: 4.672 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.004833, allocations: 8 kB / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.004835, allocations: 0.9688 kB / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.004841, allocations: 0 / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.004843, allocations: 5.312 kB / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004844, allocations: 0 / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.004951, allocations: 195.8 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.004958, allocations: 8.375 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.00497, allocations: 5.109 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.005005, allocations: 7.938 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.005045, allocations: 7.984 kB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005048, allocations: 0.5625 kB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.005085, allocations: 128.1 kB / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005085, allocations: 0 / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001337/0.005218, allocations: 8 kB / 0.7915 GB, free: 7.758 MB / 0.7448 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 8.757e-05/0.005306, allocations: 101.7 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.865e-05/0.005395, allocations: 23.62 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005396, allocations: 0 / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.005418, allocations: 15.69 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.005605, allocations: 10.58 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.005865, allocations: 136.3 kB / 0.7917 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.819e-05/0.005903, allocations: 59.34 kB / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.846e-05/0.005921, allocations: 0 / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.005951, allocations: 18.66 kB / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.005952, allocations: 0 / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of Templates: time 0.002449/0.0084, allocations: 0.7832 MB / 0.7926 GB, free: 6.594 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_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: 4.99323482112959]