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.0008976/0.0008976, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002479, 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.001047/0.001047, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001989/0.003036, 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 1.097/1.097, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1177/1.215, 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.499/2.499, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2547/2.754, allocations: 145.9 MB / 0.817 GB, free: 4.211 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.954e-06/1.954e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.6e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002322/0.002348, allocations: 0.9837 MB / 0.8193 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.004249, allocations: 1.501 MB / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.004321, allocations: 0 / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.451e-05/0.004365, allocations: 19.73 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.004502, allocations: 67.5 kB / 0.8208 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.005387, allocations: 411.2 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005511/0.005938, allocations: 491.1 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.006074, allocations: 38.48 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.006449, allocations: 309.4 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.006679, allocations: 127.7 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.868e-05/0.006757, allocations: 48 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.006903, allocations: 63.98 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.006944, allocations: 27.88 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.007101, allocations: 107.8 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.007499, allocations: 271.4 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.972e-05/0.007519, allocations: 4 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.974e-06/0.007521, allocations: 0 / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.007541, allocations: 3.938 kB / 0.8226 GB, free: 14.45 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.0008298/0.008371, allocations: 0.5803 MB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.008409, allocations: 8.031 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.008492, allocations: 28.91 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.008646, allocations: 153 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.008683, allocations: 20.36 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.00873, allocations: 20.38 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.008899, allocations: 122.2 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.008909, allocations: 192 / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.008921, allocations: 384 / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.008929, allocations: 4.375 kB / 0.8235 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.008989, allocations: 35.84 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.009616, allocations: 0.5279 MB / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.009738, allocations: 86.42 kB / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.009781, allocations: 31.5 kB / 0.8242 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.009792, allocations: 7.938 kB / 0.8242 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.01001, allocations: 157.4 kB / 0.8243 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.01001, allocations: 3.938 kB / 0.8244 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002624/0.01027, allocations: 137.5 kB / 0.8245 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.01035, allocations: 136.5 kB / 0.8246 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.01054, allocations: 221 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.01059, allocations: 37.7 kB / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.01067, allocations: 124.5 kB / 0.825 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.0107, allocations: 39.67 kB / 0.825 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.01092, allocations: 81.62 kB / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.01106, allocations: 338.8 kB / 0.8254 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.01135, allocations: 203 kB / 0.8256 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.01154, allocations: 281.5 kB / 0.8259 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.01175, allocations: 324.8 kB / 0.8262 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01175, allocations: 0 / 0.8262 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006679/0.01242, allocations: 0.5145 MB / 0.8267 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/0.0125, allocations: 134.8 kB / 0.8268 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01251, allocations: 4 kB / 0.8268 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.01252, allocations: 4 kB / 0.8268 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.01258, allocations: 15.92 kB / 0.8268 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.01259, allocations: 4 kB / 0.8268 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.01284, allocations: 88 kB / 0.8269 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.01287, allocations: 23.98 kB / 0.827 GB, free: 9.512 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 0.0001013/0.01297, allocations: 134.7 kB / 0.8271 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.01299, allocations: 23.92 kB / 0.8271 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.01303, allocations: 22.27 kB / 0.8271 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.01304, allocations: 4 kB / 0.8271 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01304, allocations: 0 / 0.8271 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01304, allocations: 0 / 0.8271 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.01316, allocations: 121.8 kB / 0.8272 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01316, allocations: 4 kB / 0.8272 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.01319, allocations: 15.92 kB / 0.8273 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.01321, allocations: 23.73 kB / 0.8273 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01321, allocations: 4 kB / 0.8273 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.01322, allocations: 7.938 kB / 0.8273 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01322, allocations: 4 kB / 0.8273 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01323, allocations: 0 / 0.8273 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.01336, allocations: 147.5 kB / 0.8274 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01337, allocations: 11.94 kB / 0.8275 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.138e-05/0.01341, allocations: 7.984 kB / 0.8275 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.01344, allocations: 15.98 kB / 0.8275 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.01344, allocations: 4 kB / 0.8275 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.0135, allocations: 74.77 kB / 0.8276 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.0135, allocations: 0 / 0.8276 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002081/0.01371, allocations: 71.89 kB / 0.8276 GB, free: 8.77 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.0001328/0.01384, allocations: 93.05 kB / 0.8277 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.01419, allocations: 0.5253 MB / 0.8282 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/0.0142, allocations: 4 kB / 0.8282 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.01425, allocations: 40.78 kB / 0.8283 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.01449, allocations: 76.8 kB / 0.8283 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.01512, allocations: 340.1 kB / 0.8287 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.01517, allocations: 79.84 kB / 0.8287 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.667e-05/0.01523, allocations: 17.64 kB / 0.8288 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.01543, allocations: 119.3 kB / 0.8289 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.01543, allocations: 4 kB / 0.8289 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.008837/0.02427, allocations: 5.709 MB / 0.8344 GB, free: 1.758 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6283700754866]