Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000784/0.000784, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001881, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007393/0.0007393, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001827, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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/1, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08955/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.54/2.54, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2996/2.84, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.819 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.121e-05, allocations: 2.312 kB / 0.819 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002015/0.002046, allocations: 0.7489 MB / 0.8197 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.002921, allocations: 0.8547 MB / 0.8206 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.002958, allocations: 4 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.002988, allocations: 3.984 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.003046, allocations: 11.88 kB / 0.8206 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.379e-05/0.00311, allocations: 11.98 kB / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.003203, allocations: 39.86 kB / 0.8206 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003315, allocations: 8 kB / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003423, allocations: 35.89 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.003473, allocations: 11.98 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.003498, allocations: 4 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.003507, allocations: 4 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.003528, allocations: 11.94 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.003554, allocations: 12 kB / 0.8207 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.003655, allocations: 31.8 kB / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.003669, allocations: 0 / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.192e-06/0.00367, allocations: 0 / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.003685, allocations: 0 / 0.8207 GB, free: 0.5938 MB / 0.7917 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.0004512/0.004136, allocations: 264.5 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.004177, allocations: 8.031 kB / 0.821 GB, free: 308 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.004206, allocations: 4.938 kB / 0.821 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.00431, allocations: 113.7 kB / 0.8211 GB, free: 164 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.004321, allocations: 4.375 kB / 0.8211 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.004335, allocations: 4.375 kB / 0.8211 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.004479, allocations: 62.94 kB / 0.8212 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004487, allocations: 192 / 0.8212 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.004495, allocations: 384 / 0.8212 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.004501, allocations: 384 / 0.8212 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.004527, allocations: 15.86 kB / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.004823, allocations: 156.3 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.004889, allocations: 22.58 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.004912, allocations: 12.86 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.004921, allocations: 0 / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.004944, allocations: 34.62 kB / 0.8214 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.004946, allocations: 3.938 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001311/0.005077, allocations: 49.84 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.005111, allocations: 51.41 kB / 0.8215 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.005193, allocations: 118.7 kB / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.005208, allocations: 25.7 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.005256, allocations: 84.12 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.005284, allocations: 15.89 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.005315, allocations: 13.72 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.005411, allocations: 318.8 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.005424, allocations: 3.984 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.005436, allocations: 7.984 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.00547, allocations: 20.78 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005472, allocations: 0 / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.585e-05/0.005528, allocations: 37.69 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.005543, allocations: 4 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.005548, allocations: 0 / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.005562, allocations: 3.938 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.005656, allocations: 15.98 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.00566, allocations: 4 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.005688, allocations: 11.98 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.005694, allocations: 0 / 0.8222 GB, free: 14.97 MB / 0.8073 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.393e-05/0.005758, allocations: 109.8 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.005774, allocations: 7.938 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.0058, allocations: 4 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.005803, allocations: 3.938 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005805, allocations: 0 / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.005809, allocations: 4 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.133e-05/0.0059, allocations: 69.89 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.005903, allocations: 4 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.005938, allocations: 15.98 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.005949, allocations: 7.891 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.00595, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.005955, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.005955, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.00596, allocations: 7.938 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.00607, allocations: 131.5 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.006082, allocations: 7.938 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.006119, allocations: 7.984 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.006156, allocations: 15.92 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.006159, allocations: 3.938 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.006179, allocations: 12.86 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006179, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001082/0.006287, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 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.0001168/0.006404, allocations: 80.41 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.006487, allocations: 12.86 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.006498, allocations: 0 / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.006526, allocations: 16.86 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.006741, allocations: 71.33 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.007227, allocations: 137 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/0.007273, allocations: 55.36 kB / 0.8229 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.007298, allocations: 0 / 0.8229 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.007368, allocations: 59.36 kB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of SimCode: time 1.493e-06/0.00737, allocations: 0 / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.002906/0.01028, allocations: 0.7022 MB / 0.8237 GB, free: 13.32 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4384930254891515]