Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.000804/0.000804, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001863, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006838/0.0006838, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001845, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9437/0.9437, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09608/1.04, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.381/2.381, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2501/2.631, allocations: 145.9 MB / 0.817 GB, free: 4.242 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.487e-06/3.487e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.91e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001668/0.001707, allocations: 0.6609 MB / 0.819 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.002661, allocations: 0.8703 MB / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.002696, allocations: 0 / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.002724, allocations: 4 kB / 0.8198 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.002764, allocations: 7.922 kB / 0.8198 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.002865, allocations: 15.92 kB / 0.8199 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.002945, allocations: 19.88 kB / 0.8199 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.002997, allocations: 0 / 0.8199 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.003172, allocations: 23.97 kB / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.003237, allocations: 7.984 kB / 0.8199 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.003253, allocations: 3.938 kB / 0.8199 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-05/0.003339, allocations: 8 kB / 0.8199 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.003353, allocations: 4 kB / 0.8199 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.003373, allocations: 4 kB / 0.8199 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003506, allocations: 11.94 kB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.139e-05/0.003528, allocations: 0 / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.064e-06/0.00353, allocations: 3.938 kB / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.3e-05/0.003553, allocations: 3.984 kB / 0.8199 GB, free: 1.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004307/0.003983, allocations: 228.6 kB / 0.8202 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.004023, allocations: 12.62 kB / 0.8202 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.004259, allocations: 82.05 kB / 0.8202 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.004397, allocations: 121.7 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.00441, allocations: 4.375 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.004422, allocations: 8.375 kB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.004545, allocations: 42.95 kB / 0.8204 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.004554, allocations: 192 / 0.8204 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-06/0.004561, allocations: 4.375 kB / 0.8204 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.004568, allocations: 4.359 kB / 0.8204 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.004586, allocations: 7.875 kB / 0.8204 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.004686, allocations: 57.05 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.004724, allocations: 14.58 kB / 0.8205 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.004737, allocations: 8.953 kB / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.004751, allocations: 4 kB / 0.8205 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.004773, allocations: 30.56 kB / 0.8205 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.004773, allocations: 0 / 0.8205 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.004895, allocations: 37.62 kB / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.00493, allocations: 51.41 kB / 0.8206 GB, free: 404 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.005005, allocations: 114.7 kB / 0.8207 GB, free: 276 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.005014, allocations: 25.7 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.005043, allocations: 80.14 kB / 0.8208 GB, free: 160 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.005071, allocations: 4 kB / 0.8208 GB, free: 156 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.005096, allocations: 9.719 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.005192, allocations: 318.9 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.005202, allocations: 4 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.005208, allocations: 0 / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.005233, allocations: 12.84 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005235, allocations: 0 / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.225e-05/0.005278, allocations: 33.64 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.005292, allocations: 4 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005297, allocations: 0 / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.005306, allocations: 4 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.005379, allocations: 12.02 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.005382, allocations: 0 / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.005397, allocations: 4 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.005404, allocations: 0 / 0.8212 GB, free: 15.73 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 (1): * Single equations (assignments): 1 * 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 7.541e-05/0.005479, allocations: 113.8 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.005488, allocations: 4 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.005513, allocations: 7.156 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.005517, allocations: 3.984 kB / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.00552, allocations: 0 / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.005523, allocations: 0 / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.826e-05/0.005582, allocations: 69.84 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005583, allocations: 256 / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.005602, allocations: 4 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.005611, allocations: 11.94 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005613, allocations: 0 / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-06/0.005616, allocations: 0 / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005616, allocations: 0 / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.00562, allocations: 4 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.621e-05/0.005686, allocations: 61 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-06/0.005694, allocations: 0 / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-06/0.005702, allocations: 4 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.005727, allocations: 4.031 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.005729, allocations: 0 / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.484e-05/0.005744, allocations: 8.859 kB / 0.8215 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005744, allocations: 0 / 0.8215 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.055e-05/0.005834, allocations: 8 kB / 0.8215 GB, free: 15.39 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 (1): * Single equations (assignments): 1 * 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.271e-05/0.005927, allocations: 76.41 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.359e-05/0.005981, allocations: 12.8 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.005987, allocations: 7.984 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.005998, allocations: 8.922 kB / 0.8216 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.577e-05/0.006064, allocations: 7.938 kB / 0.8216 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/0.006768, allocations: 128.5 kB / 0.8217 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.006807, allocations: 51.38 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.006827, allocations: 4 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.00687, allocations: 55.38 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.006871, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of Templates: time 0.001981/0.008852, allocations: 306.2 kB / 0.8221 GB, free: 14.68 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.ref.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.011583831161261]