Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.001154/0.001154, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001697/0.002852, 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.0007633/0.0007633, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.001701, 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.9984/0.9984, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09656/1.095, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2457/2.627, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.636e-06/1.048e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001141/0.001152, allocations: 0.7714 MB / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.002149, allocations: 1.178 MB / 0.8202 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.002184, allocations: 4 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.002204, allocations: 3.938 kB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.002248, allocations: 19.84 kB / 0.8203 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.002505, allocations: 127.6 kB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.002644, allocations: 123.8 kB / 0.8205 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.466e-05/0.002708, allocations: 11.94 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.002803, allocations: 71.88 kB / 0.8206 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.002882, allocations: 35.95 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.002901, allocations: 12 kB / 0.8206 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.499e-05/0.002966, allocations: 24 kB / 0.8207 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.002984, allocations: 11.92 kB / 0.8207 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.00302, allocations: 24 kB / 0.8207 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003139, allocations: 79.75 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.003152, allocations: 0 / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003153, allocations: 0 / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.003165, allocations: 0 / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003849/0.00355, allocations: 318 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.003581, allocations: 8.625 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.003615, allocations: 12.92 kB / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/0.003703, allocations: 109.8 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.003717, allocations: 8.312 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.003731, allocations: 8.375 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.185e-05/0.003792, allocations: 46.95 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.0038, allocations: 4.172 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.003805, allocations: 384 / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.003809, allocations: 384 / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.003827, allocations: 11.88 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.004026, allocations: 176.2 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.004068, allocations: 30.59 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.063e-05/0.004079, allocations: 8.922 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-06/0.004083, allocations: 0 / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.324e-05/0.004156, allocations: 59.33 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.004157, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.57e-05/0.004253, allocations: 57.61 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.004283, allocations: 55.41 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.004355, allocations: 126.5 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.00437, allocations: 29.7 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.004405, allocations: 96.06 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.004418, allocations: 11.95 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.004457, allocations: 29.69 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.004527, allocations: 318.8 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.00457, allocations: 53.62 kB / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-05/0.004614, allocations: 72.25 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.527e-05/0.004669, allocations: 80.31 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.004671, allocations: 0 / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00011/0.004781, allocations: 153 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.004814, allocations: 39.83 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004819, allocations: 4.062 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.004827, allocations: 7.938 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.811e-05/0.004865, allocations: 4 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.004869, allocations: 4 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.004956, allocations: 19.97 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.004966, allocations: 7.938 kB / 0.8226 GB, free: 14.21 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.499e-05/0.005021, allocations: 109.8 kB / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.00503, allocations: 7.984 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.005048, allocations: 12 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.005051, allocations: 3.938 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.005053, allocations: 4 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.005056, allocations: 0 / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.529e-05/0.005112, allocations: 73.88 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005112, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-06/0.00512, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.005128, allocations: 7.953 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.005129, allocations: 0 / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.005133, allocations: 3.984 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.005135, allocations: 7.875 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.005135, allocations: 4 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.293e-05/0.005188, allocations: 69.12 kB / 0.8229 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.005197, allocations: 4 kB / 0.8229 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-06/0.005207, allocations: 0 / 0.8229 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.005227, allocations: 7.922 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.005228, allocations: 0 / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.891e-05/0.005247, allocations: 28.83 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005247, allocations: 0 / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000115/0.005362, allocations: 19.94 kB / 0.823 GB, free: 13.81 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.607e-05/0.005448, allocations: 84.41 kB / 0.8231 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.005566, allocations: 137.9 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.005571, allocations: 4 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.005585, allocations: 9.234 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.005689, allocations: 28.05 kB / 0.8232 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.006055, allocations: 155.2 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.866e-05/0.006083, allocations: 59.22 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.87e-05/0.006102, allocations: 20.03 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.006168, allocations: 63.36 kB / 0.8235 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.006169, allocations: 0 / 0.8235 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.002732/0.008902, allocations: 1.671 MB / 0.8252 GB, free: 11.55 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.100315174087882]