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.00176/0.00176, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002227/0.002227, allocations: 213.1 kB / 22.24 MB, free: 4.848 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.992 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.219/3.219, allocations: 0.4892 GB / 0.7943 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.002071/0.002071, allocations: 71.8 kB / 1.153 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3639, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002711/0.3666, allocations: 0.913 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002422/0.369, allocations: 1.451 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.3692, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.053e-05/0.3693, allocations: 23.8 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.3695, allocations: 67.36 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.3709, allocations: 440 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000738/0.3716, allocations: 495 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3718, allocations: 30.23 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.3721, allocations: 195.5 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3723, allocations: 139.5 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.229e-05/0.3724, allocations: 48 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3726, allocations: 59.98 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.3726, allocations: 39.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3728, allocations: 147.6 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.3734, allocations: 0.5022 MB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3734, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3734, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3734, allocations: 0 / 1.329 GB, free: 13.84 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.0009133/0.3743, allocations: 0.5703 MB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3744, allocations: 8.031 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.3744, allocations: 38.75 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.3745, allocations: 32.83 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3748, allocations: 169.2 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.3749, allocations: 20.31 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.3749, allocations: 16.38 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3752, allocations: 119.6 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3752, allocations: 7.938 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3752, allocations: 3.984 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.3752, allocations: 4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3753, allocations: 55.92 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.3764, allocations: 0.7539 MB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.3766, allocations: 114.4 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.3767, allocations: 55.42 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3767, allocations: 0 / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/0.3771, allocations: 174.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.3771, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005092/0.3776, allocations: 233.5 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.3777, allocations: 136.5 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.378, allocations: 248.7 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.3781, allocations: 37.7 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3782, allocations: 140.4 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3783, allocations: 27.75 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.3785, allocations: 93.66 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3787, allocations: 330.8 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.3791, allocations: 279 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.3796, allocations: 354.1 kB / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.3801, allocations: 365 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3801, allocations: 0 / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001078/0.3812, allocations: 0.698 MB / 1.334 GB, free: 8.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.3813, allocations: 138.8 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3813, allocations: 0 / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.3813, allocations: 4 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.3814, allocations: 15.94 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3814, allocations: 4 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.382, allocations: 116 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.3821, allocations: 27.97 kB / 1.335 GB, free: 7.969 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.0001796/0.3823, allocations: 150.2 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3823, allocations: 23.86 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.3824, allocations: 25.33 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3824, allocations: 0 / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3824, allocations: 4 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3824, allocations: 3.938 kB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.3826, allocations: 212.7 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3826, allocations: 0 / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.3827, allocations: 11.94 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3827, allocations: 0 / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3827, allocations: 7.984 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3827, allocations: 4 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3827, allocations: 4 kB / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.383, allocations: 227.3 kB / 1.335 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.3831, allocations: 19.86 kB / 1.335 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.3831, allocations: 8 kB / 1.335 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.3832, allocations: 3.984 kB / 1.335 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.3832, allocations: 23.86 kB / 1.335 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3832, allocations: 4.797 kB / 1.335 GB, free: 7.164 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001762/0.3834, allocations: 172.5 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3834, allocations: 0 / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003259/0.3837, allocations: 64 kB / 1.336 GB, free: 6.938 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.000803/0.3845, allocations: 0.7771 MB / 1.336 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008156/0.3853, allocations: 0.6018 MB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3853, allocations: 0 / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3854, allocations: 55.86 kB / 1.337 GB, free: 5.395 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3859, allocations: 78.98 kB / 1.337 GB, free: 5.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/0.3905, allocations: 3.529 MB / 1.341 GB, free: 1.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.3907, allocations: 124.9 kB / 1.341 GB, free: 1.359 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.083e-05/0.3908, allocations: 17.64 kB / 1.341 GB, free: 1.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.3908, allocations: 55.42 kB / 1.341 GB, free: 1.289 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/0.3908, allocations: 4 kB / 1.341 GB, free: 1.285 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.4307, allocations: 7.543 MB / 1.348 GB, free: 9.984 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.02, allocations: 1.891 kB / 1.348 GB, free: 9.984 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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] "Error: Could not read variable pul.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul2.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul2.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! Error: Could not read variable pul3.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv. Warning: Get data of variable pul3.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.900672309100628]