Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001518/0.001518, allocations: 77.78 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002718/0.002718, allocations: 160.4 kB / 23.01 MB, free: 4.945 MB / 14.72 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.534/1.534, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.915/2.915, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 71.89 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9381/0.9403, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002103/0.9424, allocations: 0.9235 MB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.944, allocations: 1.444 MB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.9441, allocations: 0 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.9441, allocations: 15.75 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.9443, allocations: 66.2 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009824/0.9452, allocations: 447.9 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.9457, allocations: 496.7 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.9459, allocations: 32.08 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.9461, allocations: 187.1 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.9463, allocations: 147.5 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.9464, allocations: 51.16 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.9465, allocations: 58.94 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.9465, allocations: 36.36 kB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.9467, allocations: 154.1 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005138/0.9472, allocations: 496.2 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9472, allocations: 4 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9472, allocations: 0 / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.9472, allocations: 0 / 1.158 GB, free: 30.72 MB / 1.076 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.0007596/0.948, allocations: 0.5663 MB / 1.159 GB, free: 30.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.948, allocations: 8.438 kB / 1.159 GB, free: 30.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.389e-05/0.9481, allocations: 32.19 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.9483, allocations: 166.5 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.9483, allocations: 18.67 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.9484, allocations: 17.66 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.9485, allocations: 128.2 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9485, allocations: 4.188 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.9486, allocations: 10.75 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9486, allocations: 0 / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.9487, allocations: 52.55 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.9493, allocations: 0.7237 MB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.9494, allocations: 116.1 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.9495, allocations: 49.11 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.9495, allocations: 6.938 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.9497, allocations: 172.1 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.9497, allocations: 0 / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0004064/0.9501, allocations: 238.2 kB / 1.161 GB, free: 28.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.9501, allocations: 134.3 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.9503, allocations: 240.2 kB / 1.161 GB, free: 28.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.9504, allocations: 50.14 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.9505, allocations: 135 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.9505, allocations: 33.28 kB / 1.161 GB, free: 28.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.9506, allocations: 95.91 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.9507, allocations: 339.2 kB / 1.162 GB, free: 28.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.951, allocations: 273.9 kB / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.9513, allocations: 353.3 kB / 1.162 GB, free: 27.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.9517, allocations: 365.9 kB / 1.162 GB, free: 27.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9517, allocations: 4 kB / 1.162 GB, free: 27.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008012/0.9525, allocations: 0.6884 MB / 1.163 GB, free: 26.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.9525, allocations: 135.3 kB / 1.163 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9525, allocations: 2.688 kB / 1.163 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9526, allocations: 5.219 kB / 1.163 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.9526, allocations: 15.94 kB / 1.163 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.9527, allocations: 6.938 kB / 1.163 GB, free: 26.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.9533, allocations: 108.6 kB / 1.163 GB, free: 26.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.9533, allocations: 27.58 kB / 1.163 GB, free: 26.68 MB / 1.076 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.0001507/0.9535, allocations: 161.5 kB / 1.164 GB, free: 26.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.9535, allocations: 23.48 kB / 1.164 GB, free: 26.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.9536, allocations: 22.47 kB / 1.164 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.9536, allocations: 0 / 1.164 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.9536, allocations: 2.688 kB / 1.164 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9536, allocations: 0 / 1.164 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.9538, allocations: 183.2 kB / 1.164 GB, free: 26.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.9538, allocations: 0 / 1.164 GB, free: 26.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.9538, allocations: 20.05 kB / 1.164 GB, free: 26.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9538, allocations: 0 / 1.164 GB, free: 26.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.9539, allocations: 6.812 kB / 1.164 GB, free: 26.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.9539, allocations: 2.844 kB / 1.164 GB, free: 26.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9539, allocations: 0 / 1.164 GB, free: 26.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.9541, allocations: 223.6 kB / 1.164 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.9542, allocations: 24.72 kB / 1.164 GB, free: 26.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.9542, allocations: 2.562 kB / 1.164 GB, free: 26.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.9543, allocations: 9.938 kB / 1.164 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.9543, allocations: 16.52 kB / 1.164 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.9543, allocations: 7.906 kB / 1.164 GB, free: 26.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001455/0.9545, allocations: 173.1 kB / 1.164 GB, free: 26.05 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9545, allocations: 0 / 1.164 GB, free: 26.05 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003548/0.9548, allocations: 70.28 kB / 1.164 GB, free: 26.04 MB / 1.076 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.0001871/0.955, allocations: 111.3 kB / 1.164 GB, free: 25.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007906/0.9558, allocations: 0.6024 MB / 1.165 GB, free: 25.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.9558, allocations: 2.688 kB / 1.165 GB, free: 25.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.9559, allocations: 64.27 kB / 1.165 GB, free: 25.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.9565, allocations: 63.39 kB / 1.165 GB, free: 25.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.9573, allocations: 353 kB / 1.166 GB, free: 25.15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.9574, allocations: 122.3 kB / 1.166 GB, free: 25.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.943e-05/0.9575, allocations: 15.56 kB / 1.166 GB, free: 25.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.9575, allocations: 19.62 kB / 1.166 GB, free: 25.06 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/0.9575, allocations: 4 kB / 1.166 GB, free: 25.06 MB / 1.076 GB Notification: Performance of Templates: time 0.009085/0.9666, allocations: 5.102 MB / 1.171 GB, free: 24.46 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.373916505952366]