Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 249.9 MB, free: 3.254 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 443.5 MB / 0.731 GB, free: 14 MB / 0.5763 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=521,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=521,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 75.88 kB / 1.06 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 160.7 MB / 1.217 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002569/0.3292, allocations: 0.9726 MB / 1.218 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.3314, allocations: 1.441 MB / 1.219 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3315, allocations: 0 / 1.219 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.408e-05/0.3316, allocations: 19.73 kB / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.3319, allocations: 59.56 kB / 1.219 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3331, allocations: 442.7 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.3336, allocations: 499.1 kB / 1.22 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3337, allocations: 37.64 kB / 1.22 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.334, allocations: 179.6 kB / 1.22 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.3342, allocations: 167.4 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.046e-05/0.3343, allocations: 48 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3344, allocations: 67.92 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.3345, allocations: 43.78 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.3347, allocations: 167.4 kB / 1.221 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.3353, allocations: 498.4 kB / 1.221 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3353, allocations: 0 / 1.221 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3353, allocations: 4 kB / 1.221 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3353, allocations: 0 / 1.221 GB, free: 10.95 MB / 0.9669 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.0009003/0.3362, allocations: 0.6436 MB / 1.222 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3363, allocations: 8.031 kB / 1.222 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/0.3364, allocations: 32.8 kB / 1.222 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3366, allocations: 219.1 kB / 1.222 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.3366, allocations: 16.38 kB / 1.222 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.3367, allocations: 24.36 kB / 1.222 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3369, allocations: 123.5 kB / 1.222 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3369, allocations: 4.125 kB / 1.222 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3369, allocations: 7.938 kB / 1.222 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.337, allocations: 0 / 1.222 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3371, allocations: 55.97 kB / 1.222 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.3381, allocations: 0.8756 MB / 1.223 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.3383, allocations: 126.4 kB / 1.223 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.3384, allocations: 47.48 kB / 1.223 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.3384, allocations: 4 kB / 1.223 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.3387, allocations: 174.6 kB / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.3387, allocations: 0 / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0005296/0.3392, allocations: 225.4 kB / 1.224 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3393, allocations: 136.5 kB / 1.224 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.3397, allocations: 244.9 kB / 1.224 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.3398, allocations: 41.64 kB / 1.224 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.3399, allocations: 132.5 kB / 1.224 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.34, allocations: 31.8 kB / 1.224 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.3401, allocations: 93.66 kB / 1.224 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3403, allocations: 334.8 kB / 1.225 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.3406, allocations: 144.2 kB / 1.225 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.341, allocations: 232.5 kB / 1.225 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.3417, allocations: 364.9 kB / 1.225 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3417, allocations: 0 / 1.225 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009337/0.3426, allocations: 0.5587 MB / 1.226 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.3428, allocations: 138.8 kB / 1.226 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3428, allocations: 7.938 kB / 1.226 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3428, allocations: 4 kB / 1.226 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.3429, allocations: 11.98 kB / 1.226 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3429, allocations: 7.938 kB / 1.226 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.3435, allocations: 115.7 kB / 1.226 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.3435, allocations: 31.92 kB / 1.226 GB, free: 5.309 MB / 0.9669 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.0001738/0.3437, allocations: 145.8 kB / 1.226 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.3437, allocations: 23.86 kB / 1.226 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.3438, allocations: 21.23 kB / 1.226 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3438, allocations: 4 kB / 1.226 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3438, allocations: 4 kB / 1.226 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3438, allocations: 7.938 kB / 1.226 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.3441, allocations: 261.4 kB / 1.227 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3441, allocations: 8 kB / 1.227 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.3441, allocations: 19.92 kB / 1.227 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3441, allocations: 0 / 1.227 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3442, allocations: 4 kB / 1.227 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3442, allocations: 0 / 1.227 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3442, allocations: 0 / 1.227 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.3446, allocations: 221.7 kB / 1.227 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.3446, allocations: 100.9 kB / 1.227 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3447, allocations: 8.922 kB / 1.227 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.3447, allocations: 8 kB / 1.227 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3448, allocations: 11.92 kB / 1.227 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3448, allocations: 12 kB / 1.227 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002294/0.345, allocations: 168.5 kB / 1.227 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.345, allocations: 0 / 1.227 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003282/0.3453, allocations: 68 kB / 1.227 GB, free: 4.125 MB / 0.9669 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.0002289/0.3456, allocations: 115.1 kB / 1.227 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007518/0.3463, allocations: 482.1 kB / 1.228 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3463, allocations: 4.062 kB / 1.228 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3464, allocations: 84.27 kB / 1.228 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3469, allocations: 68.3 kB / 1.228 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.3475, allocations: 368.1 kB / 1.228 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3479, allocations: 0.732 MB / 1.229 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.348, allocations: 19.42 kB / 1.229 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.348, allocations: 0 / 1.229 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of Templates: time 0.006231/0.3542, allocations: 3.508 MB / 1.232 GB, free: 14.69 MB / 0.9825 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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