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.001328/0.001328, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.001992/0.001992, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.571/1.571, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.289/3.289, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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.002002/0.002002, allocations: 72.48 kB / 1.149 GB, free: 26.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 176.1 MB / 1.321 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002818/0.3635, allocations: 0.9674 MB / 1.322 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3658, allocations: 1.471 MB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.3659, allocations: 0 / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.366, allocations: 15.8 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.3662, allocations: 67.56 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3679, allocations: 439 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.369, allocations: 487.1 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3692, allocations: 33.66 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.3695, allocations: 183.6 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.3698, allocations: 175.3 kB / 1.325 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.3699, allocations: 48 kB / 1.325 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3701, allocations: 63.98 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3702, allocations: 39.84 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.3704, allocations: 163.4 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006735/0.3711, allocations: 0.4987 MB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3711, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3711, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3711, allocations: 0 / 1.325 GB, free: 14.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.001042/0.3721, allocations: 0.6378 MB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.3722, allocations: 15.98 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.511e-05/0.3722, allocations: 42.73 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3724, allocations: 36.73 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.3727, allocations: 219.1 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.3727, allocations: 12.38 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.3728, allocations: 24.38 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.3731, allocations: 119.7 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3731, allocations: 7.938 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3731, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3731, allocations: 7.984 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3733, allocations: 51.91 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.3746, allocations: 0.8835 MB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3748, allocations: 114.4 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.3749, allocations: 55.42 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.3749, allocations: 0 / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.3752, allocations: 174.6 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.3752, allocations: 4 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005089/0.3757, allocations: 221.4 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.3758, allocations: 136.5 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.3761, allocations: 248.8 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.3762, allocations: 37.7 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3763, allocations: 136.4 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.3764, allocations: 31.8 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.3765, allocations: 89.66 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3767, allocations: 338.8 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.377, allocations: 140.2 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3774, allocations: 230.7 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.3779, allocations: 368.9 kB / 1.33 GB, free: 10.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3779, allocations: 0 / 1.33 GB, free: 10.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001009/0.3789, allocations: 0.5663 MB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.379, allocations: 134.8 kB / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.379, allocations: 4 kB / 1.33 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.379, allocations: 4.25 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.3791, allocations: 19.92 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3791, allocations: 4 kB / 1.33 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006794/0.3798, allocations: 111.7 kB / 1.33 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.3799, allocations: 31.97 kB / 1.33 GB, free: 9.137 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.0001813/0.3801, allocations: 151.2 kB / 1.331 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.3801, allocations: 19.86 kB / 1.331 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.3802, allocations: 25.23 kB / 1.331 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3802, allocations: 4 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3802, allocations: 0 / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3802, allocations: 4.875 kB / 1.331 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.3805, allocations: 257.5 kB / 1.331 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3805, allocations: 4 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.3805, allocations: 15.92 kB / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3805, allocations: 4 kB / 1.331 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3806, allocations: 4 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3806, allocations: 4 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3806, allocations: 0 / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.3809, allocations: 223.4 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.381, allocations: 104.9 kB / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.381, allocations: 7.938 kB / 1.331 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.3811, allocations: 0 / 1.331 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.3811, allocations: 27.86 kB / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3811, allocations: 11.98 kB / 1.331 GB, free: 8.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001708/0.3813, allocations: 164.5 kB / 1.331 GB, free: 8.016 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3813, allocations: 3.938 kB / 1.331 GB, free: 8.012 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00035/0.3816, allocations: 71.98 kB / 1.331 GB, free: 7.941 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.0007083/0.3823, allocations: 0.7618 MB / 1.332 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007308/0.3831, allocations: 485.4 kB / 1.333 GB, free: 6.621 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3831, allocations: 0 / 1.333 GB, free: 6.621 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3832, allocations: 55.91 kB / 1.333 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3836, allocations: 60.83 kB / 1.333 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.388, allocations: 3.024 MB / 1.336 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3884, allocations: 0.7281 MB / 1.336 GB, free: 2.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.541e-05/0.3885, allocations: 26.23 kB / 1.336 GB, free: 2.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3886, allocations: 59.41 kB / 1.337 GB, free: 2.449 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.3886, allocations: 4 kB / 1.337 GB, free: 2.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.4192, allocations: 6.422 MB / 1.343 GB, free: 12.19 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.59, allocations: 14.09 kB / 1.343 GB, free: 12.18 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.684856144944206]