Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8435, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002318/0.8458, allocations: 0.9806 MB / 1.275 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.8482, allocations: 1.445 MB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.8482, allocations: 0 / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.055e-05/0.8483, allocations: 15.75 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.8485, allocations: 63.56 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.8497, allocations: 444.4 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.8503, allocations: 495.1 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.8504, allocations: 45.59 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.8506, allocations: 183.6 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.8509, allocations: 163.4 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/0.851, allocations: 48 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.8511, allocations: 59.98 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.8512, allocations: 35.86 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.8514, allocations: 171.4 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.852, allocations: 497.2 kB / 1.279 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.852, allocations: 0 / 1.279 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.852, allocations: 0 / 1.279 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.852, allocations: 0 / 1.279 GB, free: 15.93 MB / 0.9825 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.0008968/0.8529, allocations: 0.6417 MB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.8529, allocations: 8.031 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.853, allocations: 32.8 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.8532, allocations: 223 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.8533, allocations: 24.3 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/0.8533, allocations: 16.38 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.8536, allocations: 121.6 kB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8536, allocations: 8.109 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.8536, allocations: 7.938 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8536, allocations: 0 / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.8537, allocations: 59.91 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.8548, allocations: 0.8757 MB / 1.281 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.855, allocations: 110.4 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.8551, allocations: 59.42 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.8551, allocations: 0 / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.8554, allocations: 174.6 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.8554, allocations: 4 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.000507/0.8559, allocations: 229.3 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.856, allocations: 136.5 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.8563, allocations: 233 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.8563, allocations: 37.7 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.8565, allocations: 136.5 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.8565, allocations: 27.81 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.8567, allocations: 89.66 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.8568, allocations: 338.8 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.8572, allocations: 152.1 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.8575, allocations: 222.7 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.858, allocations: 372.9 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.858, allocations: 4 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009991/0.859, allocations: 0.5624 MB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.8591, allocations: 138.8 kB / 1.283 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.8591, allocations: 4 kB / 1.283 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.8592, allocations: 8.25 kB / 1.283 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.8593, allocations: 15.98 kB / 1.283 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.8593, allocations: 3.938 kB / 1.283 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.8599, allocations: 115.7 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.86, allocations: 31.92 kB / 1.284 GB, free: 10.28 MB / 0.9825 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.0001905/0.8602, allocations: 149.8 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.8602, allocations: 19.91 kB / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.8603, allocations: 26.11 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8603, allocations: 4 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.8603, allocations: 0 / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8603, allocations: 7.938 kB / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.8606, allocations: 261.5 kB / 1.284 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8606, allocations: 4 kB / 1.284 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.8606, allocations: 11.98 kB / 1.284 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8606, allocations: 3.938 kB / 1.284 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.8606, allocations: 4 kB / 1.284 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8606, allocations: 0 / 1.284 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8606, allocations: 4 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.861, allocations: 229.9 kB / 1.284 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.8611, allocations: 96.97 kB / 1.284 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.8611, allocations: 7.984 kB / 1.284 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.8611, allocations: 4 kB / 1.284 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.8612, allocations: 15.92 kB / 1.284 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.8612, allocations: 8 kB / 1.284 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001674/0.8614, allocations: 168.5 kB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8614, allocations: 4 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003568/0.8617, allocations: 71.89 kB / 1.285 GB, free: 9.098 MB / 0.9825 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.0002122/0.8619, allocations: 115.7 kB / 1.285 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007451/0.8627, allocations: 485.4 kB / 1.285 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8627, allocations: 0 / 1.285 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.8628, allocations: 52.42 kB / 1.285 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.8633, allocations: 80.77 kB / 1.285 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.8639, allocations: 362.4 kB / 1.286 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.8643, allocations: 0.7242 MB / 1.286 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.681e-05/0.8643, allocations: 21.55 kB / 1.286 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.8644, allocations: 23.42 kB / 1.286 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8644, allocations: 0 / 1.286 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of Templates: time 0.009119/0.8735, allocations: 4.607 MB / 1.291 GB, free: 2.594 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.783230494242162]