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.0009886/0.0009886, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001033/0.001033, allocations: 185 kB / 24.09 MB, free: 416 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 0.9328/0.9328, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.755/1.755, allocations: 359 MB / 0.6055 GB, free: 10.84 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.543e-06/1.543e-06, allocations: 112 / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.201e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001247/0.001269, allocations: 0.7153 MB / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.002143, allocations: 0.8444 MB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.002189, allocations: 1.062 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.002217, allocations: 3.938 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.002302, allocations: 13.66 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.841e-05/0.002371, allocations: 11.98 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.00245, allocations: 47.83 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.00256, allocations: 8 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.002658, allocations: 19.98 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.002702, allocations: 20.5 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.002724, allocations: 4.719 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-06/0.002731, allocations: 4 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.002752, allocations: 8.75 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.002781, allocations: 7.984 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.302e-05/0.002874, allocations: 40.92 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002876, allocations: 0 / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.3e-07/0.002876, allocations: 0 / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.002881, allocations: 1.156 kB / 0.7893 GB, free: 10.36 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.0003736/0.003254, allocations: 372.6 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.003306, allocations: 12.03 kB / 0.7897 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.003335, allocations: 9.453 kB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.003414, allocations: 115.4 kB / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003424, allocations: 4.312 kB / 0.7898 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.003434, allocations: 8.359 kB / 0.7898 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.003551, allocations: 62.94 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.003558, allocations: 192 / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.003565, allocations: 384 / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003571, allocations: 384 / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.003594, allocations: 13.36 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.003871, allocations: 244.3 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.003936, allocations: 35 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.00396, allocations: 16.34 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.003969, allocations: 0.9688 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.003992, allocations: 41.38 kB / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.003993, allocations: 0 / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001245/0.004117, allocations: 50.3 kB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.004146, allocations: 51.41 kB / 0.7903 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.004225, allocations: 171.7 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.004237, allocations: 29.69 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.004292, allocations: 138.8 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.004316, allocations: 3.953 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.004344, allocations: 24.91 kB / 0.7907 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.004471, allocations: 496.1 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.004483, allocations: 4 kB / 0.7912 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.004494, allocations: 4 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.004521, allocations: 15.67 kB / 0.7912 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.004523, allocations: 5.906 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.818e-05/0.004581, allocations: 49.58 kB / 0.7912 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.004594, allocations: 4 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.0046, allocations: 0 / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.004614, allocations: 7.938 kB / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.004694, allocations: 10.52 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.004697, allocations: 4 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.004717, allocations: 4 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.004722, allocations: 0 / 0.7913 GB, free: 8.207 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.13e-05/0.004783, allocations: 152.6 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.004796, allocations: 4.531 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.004819, allocations: 12.7 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.004821, allocations: 4.266 kB / 0.7914 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.004824, allocations: 4.531 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.004827, allocations: 0 / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.103e-05/0.004918, allocations: 98.88 kB / 0.7915 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.00492, allocations: 0 / 0.7915 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.004947, allocations: 11.98 kB / 0.7915 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.004949, allocations: 0 / 0.7915 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.004957, allocations: 4.625 kB / 0.7915 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.004958, allocations: 0 / 0.7915 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.004958, allocations: 4.688 kB / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.005066, allocations: 199.8 kB / 0.7917 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.005072, allocations: 0.6875 kB / 0.7917 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.005082, allocations: 4.953 kB / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.005115, allocations: 7.938 kB / 0.7917 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.005156, allocations: 15.92 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.005158, allocations: 1.375 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.005201, allocations: 127.5 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005201, allocations: 0 / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001315/0.005332, allocations: 9.125 kB / 0.7919 GB, free: 7.508 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.128e-05/0.005413, allocations: 95.23 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.005496, allocations: 24.19 kB / 0.792 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005497, allocations: 0.9062 kB / 0.792 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.032e-05/0.005518, allocations: 15.69 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.005713, allocations: 10.7 kB / 0.792 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.005978, allocations: 135.8 kB / 0.7922 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.006016, allocations: 59.34 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.821e-05/0.006034, allocations: 0.875 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.006089, allocations: 74.2 kB / 0.7923 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.006089, allocations: 2.188 kB / 0.7923 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of Templates: time 0.002593/0.008683, allocations: 0.8062 MB / 0.7931 GB, free: 6.266 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.753809020854533]