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.001322/0.001322, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001467/0.001467, allocations: 216.7 kB / 22.24 MB, free: 5.258 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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 3.163/3.163, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [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.002164/0.002164, allocations: 62.62 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3515, allocations: 176.1 MB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002286/0.3538, allocations: 0.9248 MB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3558, allocations: 1.447 MB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.709e-05/0.3559, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.3559, allocations: 19.73 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.3561, allocations: 71.5 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3572, allocations: 436.2 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006229/0.3579, allocations: 491.1 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.358, allocations: 29.95 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.3582, allocations: 187.5 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3585, allocations: 167.5 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.3586, allocations: 52 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3587, allocations: 63.98 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.3587, allocations: 39.8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.3589, allocations: 143.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.3595, allocations: 0.4987 MB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3595, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3595, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.3595, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 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.000881/0.3604, allocations: 0.5702 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3604, allocations: 12.03 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.3605, allocations: 38.75 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.967e-05/0.3606, allocations: 32.83 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3608, allocations: 169.2 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3608, allocations: 12.38 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3608, allocations: 24.38 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3611, allocations: 117.6 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3611, allocations: 3.938 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3611, allocations: 11.92 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3611, allocations: 3.938 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3612, allocations: 55.92 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.3621, allocations: 0.7539 MB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.3623, allocations: 122.4 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.3624, allocations: 51.48 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.3624, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.3627, allocations: 169.1 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.3627, allocations: 4 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005001/0.3632, allocations: 233.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.3633, allocations: 132.5 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.3636, allocations: 248.8 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.3637, allocations: 37.7 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3638, allocations: 132.5 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3638, allocations: 31.8 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.364, allocations: 89.66 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3642, allocations: 334.8 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.3646, allocations: 271 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.365, allocations: 354.4 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.3655, allocations: 369 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3655, allocations: 4 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001044/0.3666, allocations: 0.6901 MB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.3667, allocations: 134.8 kB / 1.335 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3667, allocations: 4.938 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3667, allocations: 7.938 kB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.3668, allocations: 15.94 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.3668, allocations: 4 kB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.3675, allocations: 112 kB / 1.335 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.3675, allocations: 35.97 kB / 1.335 GB, free: 7.258 MB / 1.029 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.0001724/0.3677, allocations: 150.2 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.3678, allocations: 23.86 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.3678, allocations: 25.33 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3678, allocations: 4 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3678, allocations: 0 / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.3678, allocations: 11.92 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.3681, allocations: 208.7 kB / 1.336 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3681, allocations: 0 / 1.336 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.3681, allocations: 11.94 kB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3681, allocations: 0 / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3681, allocations: 11.98 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3681, allocations: 0 / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3681, allocations: 4 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.3684, allocations: 227.3 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.3685, allocations: 27.84 kB / 1.336 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3685, allocations: 0 / 1.336 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.3686, allocations: 11.98 kB / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3686, allocations: 15.92 kB / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3686, allocations: 8 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001582/0.3688, allocations: 164.5 kB / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3688, allocations: 0 / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000333/0.3691, allocations: 68 kB / 1.336 GB, free: 6.223 MB / 1.029 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.000689/0.3698, allocations: 0.7673 MB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008286/0.3706, allocations: 0.6017 MB / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3706, allocations: 0 / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.3708, allocations: 59.86 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.3712, allocations: 70.14 kB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.3757, allocations: 3.547 MB / 1.341 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3758, allocations: 124.9 kB / 1.341 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.461e-05/0.3759, allocations: 25.62 kB / 1.341 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.376, allocations: 51.42 kB / 1.342 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.376, allocations: 0 / 1.342 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.4126, allocations: 7.559 MB / 1.349 GB, free: 9.25 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.82, allocations: 11.42 kB / 1.349 GB, free: 9.246 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] 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: 18.474730765999993]