Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.0007766/0.0007766, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001817, 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.0007078/0.0007078, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004021/0.004729, 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 0.9776/0.9776, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.082, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.404/2.404, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2883/2.692, allocations: 146 MB / 0.8176 GB, free: 3.828 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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.297e-05, allocations: 2.312 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001295/0.001318, allocations: 0.7251 MB / 0.8197 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.002225, allocations: 0.8703 MB / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.002257, allocations: 0 / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.002286, allocations: 0 / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.002329, allocations: 11.88 kB / 0.8206 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.361e-05/0.002422, allocations: 15.91 kB / 0.8206 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.06e-05/0.002503, allocations: 27.92 kB / 0.8206 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.002596, allocations: 0 / 0.8206 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.002703, allocations: 15.98 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.002758, allocations: 19.92 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.002775, allocations: 0 / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.002849, allocations: 4 kB / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.002869, allocations: 4 kB / 0.8206 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.002886, allocations: 4 kB / 0.8206 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.002998, allocations: 23.91 kB / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.003014, allocations: 4 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003015, allocations: 0 / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.003028, allocations: 3.938 kB / 0.8207 GB, free: 0.6836 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000466/0.003494, allocations: 232.6 kB / 0.8209 GB, free: 440 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.003537, allocations: 8.031 kB / 0.8209 GB, free: 432 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.00373, allocations: 90.03 kB / 0.821 GB, free: 324 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.003841, allocations: 109.8 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.003852, allocations: 384 / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.003863, allocations: 384 / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.003993, allocations: 54.95 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.004002, allocations: 192 / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.004013, allocations: 4.359 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.004018, allocations: 384 / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.004046, allocations: 11.92 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.004321, allocations: 144.2 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.00438, allocations: 30.61 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.004397, allocations: 8.922 kB / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.004419, allocations: 0 / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.004444, allocations: 30.56 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.004446, allocations: 0 / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001168/0.004562, allocations: 37.64 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.004593, allocations: 55.34 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.004659, allocations: 114.6 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002284/0.004887, allocations: 25.7 kB / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.004923, allocations: 80.27 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.004944, allocations: 15.89 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.00497, allocations: 13.72 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.005052, allocations: 314.8 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.005062, allocations: 4 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.00507, allocations: 0 / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.005096, allocations: 12.84 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005098, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.67e-05/0.005145, allocations: 41.62 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.005161, allocations: 8 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005165, allocations: 4.094 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.005182, allocations: 0 / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.005258, allocations: 7.938 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.005263, allocations: 3.984 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.005279, allocations: 8 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.005283, allocations: 0 / 0.8221 GB, free: 15.06 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 (2): * Single equations (assignments): 2 * 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 5.451e-05/0.005337, allocations: 105.8 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.00535, allocations: 4 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.00543, allocations: 44.94 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.005434, allocations: 4.031 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.005437, allocations: 3.938 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.005441, allocations: 0 / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.005559, allocations: 69.89 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00556, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.005597, allocations: 4 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.005605, allocations: 3.953 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005607, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.005613, allocations: 7.984 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.005614, allocations: 0 / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.005617, allocations: 3.938 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.309e-05/0.0057, allocations: 131.6 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.005714, allocations: 7.922 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.189e-05/0.005746, allocations: 4 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.00578, allocations: 0 / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.005782, allocations: 3.938 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.665e-05/0.005799, allocations: 16.97 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005799, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001097/0.005909, allocations: 4 kB / 0.8225 GB, free: 14.6 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 (2): * Single equations (assignments): 2 * 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.681e-05/0.005996, allocations: 84.44 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.805e-05/0.006064, allocations: 12.86 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.006069, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.006091, allocations: 12.86 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.006264, allocations: 37.69 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.006879, allocations: 116.7 kB / 0.8227 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.006916, allocations: 59.53 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.721e-05/0.006934, allocations: 7.938 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.006984, allocations: 51.38 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of SimCode: time 8.31e-07/0.006985, allocations: 0 / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.002214/0.009199, allocations: 475.1 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.416948499158025]