Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001031/0.001031, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002487, 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.001059/0.001059, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002455, 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.008/1.008, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09125/1.099, allocations: 53.66 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.398/2.398, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2355/2.633, allocations: 146 MB / 0.8176 GB, free: 3.82 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.674e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001708/0.001725, allocations: 0.9945 MB / 0.8199 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.006196, allocations: 1.489 MB / 0.8214 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.00625, allocations: 8 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.006285, allocations: 15.75 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.006387, allocations: 59.52 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.007071, allocations: 415.2 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.007499, allocations: 495 kB / 0.8223 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.007594, allocations: 38.5 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.007902, allocations: 309.4 kB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.008083, allocations: 135.6 kB / 0.8228 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.008147, allocations: 52 kB / 0.8228 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.008259, allocations: 56 kB / 0.8229 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.008293, allocations: 31.86 kB / 0.8229 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.008404, allocations: 99.88 kB / 0.823 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.01172, allocations: 271.4 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.01173, allocations: 0 / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01173, allocations: 7.938 kB / 0.8233 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.01174, allocations: 3.938 kB / 0.8233 GB, free: 14.03 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006572/0.0124, allocations: 0.5686 MB / 0.8238 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.01243, allocations: 8.031 kB / 0.8238 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.0125, allocations: 36.89 kB / 0.8239 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.01262, allocations: 156.9 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.01264, allocations: 12.38 kB / 0.824 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.01269, allocations: 24.38 kB / 0.824 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.01282, allocations: 114.2 kB / 0.8242 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.01283, allocations: 192 / 0.8242 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.01284, allocations: 8.375 kB / 0.8242 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.01284, allocations: 4.375 kB / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.01289, allocations: 31.84 kB / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.01339, allocations: 0.5279 MB / 0.8247 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.845e-05/0.01348, allocations: 90.41 kB / 0.8248 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.01352, allocations: 35.48 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.01353, allocations: 7.938 kB / 0.8248 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.01375, allocations: 154.6 kB / 0.825 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.01375, allocations: 3.938 kB / 0.825 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002141/0.01397, allocations: 133.5 kB / 0.8251 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.01402, allocations: 136.5 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.01416, allocations: 221 kB / 0.8255 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.0142, allocations: 37.7 kB / 0.8255 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.01427, allocations: 120.5 kB / 0.8256 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.0143, allocations: 35.69 kB / 0.8256 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003134/0.01743, allocations: 85.61 kB / 0.8257 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.01752, allocations: 338.8 kB / 0.826 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.01769, allocations: 199 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.0179, allocations: 292.5 kB / 0.8265 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.01814, allocations: 320.8 kB / 0.8268 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01814, allocations: 0 / 0.8268 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004635/0.01861, allocations: 0.5145 MB / 0.8273 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.01869, allocations: 138.8 kB / 0.8275 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01869, allocations: 0 / 0.8275 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01871, allocations: 4 kB / 0.8275 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.01877, allocations: 23.94 kB / 0.8275 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01878, allocations: 7.984 kB / 0.8275 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.01907, allocations: 84.06 kB / 0.8276 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.01911, allocations: 19.98 kB / 0.8276 GB, free: 9.094 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 9.848e-05/0.01921, allocations: 133.8 kB / 0.8277 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.01924, allocations: 23.91 kB / 0.8277 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.01927, allocations: 21.34 kB / 0.8278 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01927, allocations: 4 kB / 0.8278 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.01928, allocations: 4 kB / 0.8278 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.01928, allocations: 3.984 kB / 0.8278 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.01942, allocations: 121.8 kB / 0.8279 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01942, allocations: 0 / 0.8279 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.01945, allocations: 11.94 kB / 0.8279 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.01947, allocations: 28.67 kB / 0.8279 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01948, allocations: 7.984 kB / 0.8279 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.01948, allocations: 4 kB / 0.8279 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01949, allocations: 7.984 kB / 0.8279 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01949, allocations: 0 / 0.8279 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.01963, allocations: 145.7 kB / 0.8281 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.01965, allocations: 7.922 kB / 0.8281 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.01969, allocations: 8 kB / 0.8281 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.01972, allocations: 15.95 kB / 0.8281 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.01973, allocations: 8 kB / 0.8281 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00019/0.01992, allocations: 74.78 kB / 0.8282 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01992, allocations: 0 / 0.8282 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002511/0.02017, allocations: 75.83 kB / 0.8283 GB, free: 8.336 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003135/0.02331, allocations: 98.45 kB / 0.8284 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.02372, allocations: 0.5205 MB / 0.8289 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.02372, allocations: 4 kB / 0.8289 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.02378, allocations: 48.7 kB / 0.8289 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.02418, allocations: 0.5094 MB / 0.8294 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.0248, allocations: 321.3 kB / 0.8297 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.02484, allocations: 79.84 kB / 0.8298 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.33e-05/0.02489, allocations: 17.64 kB / 0.8298 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.02511, allocations: 135.2 kB / 0.8299 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.02512, allocations: 0 / 0.8299 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of Templates: time 0.01805/0.04317, allocations: 5.636 MB / 0.8354 GB, free: 0.875 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.1346564758569]