Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001461/0.001461, 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.001637/0.001637, allocations: 173 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 1.045/1.045, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.803/1.803, allocations: 359 MB / 0.6055 GB, free: 11.01 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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 0 / 0.7872 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.506e-05/3.844e-05, allocations: 4.703 kB / 0.7872 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002417/0.002456, allocations: 0.7126 MB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003605, allocations: 0.8444 MB / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.003654, allocations: 4.625 kB / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.003687, allocations: 4.812 kB / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.003771, allocations: 7.875 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.965e-05/0.003851, allocations: 16.95 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003952, allocations: 39.86 kB / 0.7888 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.004093, allocations: 12.55 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.004204, allocations: 19.98 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.004258, allocations: 20.69 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.004286, allocations: 4 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.004297, allocations: 5.281 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.00432, allocations: 7.984 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.004357, allocations: 15.92 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.00447, allocations: 26.81 kB / 0.7889 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.004475, allocations: 4 kB / 0.7889 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.664e-06/0.004477, allocations: 0 / 0.7889 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.004484, allocations: 4 kB / 0.7889 GB, free: 11.01 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.0005492/0.005033, allocations: 368.6 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.005091, allocations: 12.03 kB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.00515, allocations: 12.83 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.005272, allocations: 109.9 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.00529, allocations: 12.38 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.005301, allocations: 384 / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.005493, allocations: 67.53 kB / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.005502, allocations: 192 / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.005513, allocations: 1.375 kB / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.005522, allocations: 384 / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.005565, allocations: 11.92 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.005956, allocations: 268.4 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/0.006051, allocations: 31.91 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.006094, allocations: 27.7 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.006105, allocations: 1.375 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.006133, allocations: 33.39 kB / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.006135, allocations: 0 / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002053/0.006341, allocations: 55.38 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.00638, allocations: 55.41 kB / 0.7899 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.006479, allocations: 165.9 kB / 0.7901 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.006493, allocations: 25.7 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.006567, allocations: 134.8 kB / 0.7902 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.006591, allocations: 9.484 kB / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.006635, allocations: 19.38 kB / 0.7902 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.006787, allocations: 0.4884 MB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.006813, allocations: 0 / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.006831, allocations: 4.5 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.00688, allocations: 21.83 kB / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006882, allocations: 0 / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001073/0.006989, allocations: 53.58 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.007007, allocations: 7.938 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.007012, allocations: 4 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.007027, allocations: 2.406 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.00713, allocations: 11.98 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.007136, allocations: 320 / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.007169, allocations: 4 kB / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.007176, allocations: 0 / 0.7908 GB, free: 8.824 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 8.68e-05/0.007262, allocations: 160.6 kB / 0.791 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.007289, allocations: 4.531 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.007321, allocations: 8.656 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.007324, allocations: 4 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.007329, allocations: 0.5312 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.007332, allocations: 1.594 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.007478, allocations: 116.6 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.007479, allocations: 4 kB / 0.7911 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.007535, allocations: 11.92 kB / 0.7911 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007537, allocations: 4.625 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.007547, allocations: 4 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.00755, allocations: 4.625 kB / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007552, allocations: 3.938 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.007703, allocations: 192.6 kB / 0.7913 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.007715, allocations: 9.156 kB / 0.7913 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.007729, allocations: 0 / 0.7913 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.007799, allocations: 11.92 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.007846, allocations: 0.5625 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.007851, allocations: 4 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.755e-05/0.007909, allocations: 135.9 kB / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007909, allocations: 0 / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002301/0.008139, allocations: 8.844 kB / 0.7915 GB, free: 8.09 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 0.0001463/0.008285, allocations: 96.97 kB / 0.7916 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.008402, allocations: 23.67 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.008404, allocations: 0 / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.008432, allocations: 15.69 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.008732, allocations: 8.797 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.009111, allocations: 136.4 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.009159, allocations: 55.36 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.009189, allocations: 7.922 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.009232, allocations: 18.53 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.009233, allocations: 0 / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of Templates: time 0.0032/0.01243, allocations: 0.7399 MB / 0.7925 GB, free: 6.969 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.334098436171189]