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.001298/0.001298, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001506/0.001506, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.988 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.315/3.315, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.002045/0.002045, allocations: 72.89 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4099, allocations: 176.1 MB / 1.326 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002425/0.4123, allocations: 0.9832 MB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.4144, allocations: 1.463 MB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.4145, allocations: 4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.025e-05/0.4146, allocations: 15.75 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.4147, allocations: 63.56 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.4159, allocations: 445.4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.4164, allocations: 495.1 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4166, allocations: 26.23 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.4168, allocations: 183.6 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.4171, allocations: 179.3 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.4172, allocations: 48 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4173, allocations: 63.98 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.4173, allocations: 39.84 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.4175, allocations: 163.4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.4181, allocations: 0.4945 MB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4181, allocations: 3.984 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4181, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4181, allocations: 0 / 1.33 GB, free: 13.14 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.0008553/0.4189, allocations: 0.5664 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.419, allocations: 12.03 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.419, allocations: 46.67 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.4191, allocations: 24.84 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.4193, allocations: 165.3 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.4194, allocations: 20.36 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.4194, allocations: 20.38 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.4196, allocations: 127.4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4197, allocations: 7.938 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4197, allocations: 4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4197, allocations: 4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.4198, allocations: 51.91 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.4209, allocations: 0.8474 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.4211, allocations: 114.4 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.4211, allocations: 55.48 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.4211, allocations: 7.922 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.4215, allocations: 162.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.4215, allocations: 4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004861/0.422, allocations: 229.4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.4221, allocations: 136.5 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.4224, allocations: 248.8 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.4224, allocations: 37.7 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.4226, allocations: 132.4 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.4226, allocations: 31.8 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4228, allocations: 93.64 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4229, allocations: 334.8 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.4232, allocations: 144.2 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.4236, allocations: 223.3 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.4241, allocations: 372.9 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4241, allocations: 4 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009579/0.425, allocations: 0.5624 MB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.4252, allocations: 134.8 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.4252, allocations: 3.984 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4252, allocations: 4.25 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.4253, allocations: 19.94 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4253, allocations: 4 kB / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.4259, allocations: 111.7 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.426, allocations: 27.97 kB / 1.335 GB, free: 7.641 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.0001949/0.4262, allocations: 154.2 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.4262, allocations: 19.86 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.4262, allocations: 21.33 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4262, allocations: 4 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4262, allocations: 0 / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4263, allocations: 7.938 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.4265, allocations: 232.6 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4265, allocations: 4 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.4266, allocations: 8 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4266, allocations: 0 / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4266, allocations: 8 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4266, allocations: 3.938 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4266, allocations: 7.984 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4269, allocations: 218.6 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.427, allocations: 31.78 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.427, allocations: 8 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.427, allocations: 0 / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.4271, allocations: 23.84 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4271, allocations: 12 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001633/0.4273, allocations: 164.5 kB / 1.336 GB, free: 6.652 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4273, allocations: 0 / 1.336 GB, free: 6.652 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003258/0.4276, allocations: 68 kB / 1.336 GB, free: 6.586 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.0006949/0.4283, allocations: 0.7712 MB / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007203/0.429, allocations: 485.4 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.429, allocations: 0 / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.4291, allocations: 55.91 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.4296, allocations: 75.81 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.4337, allocations: 3.014 MB / 1.341 GB, free: 1.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.434, allocations: 0.732 MB / 1.341 GB, free: 1.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.752e-05/0.4341, allocations: 21.64 kB / 1.341 GB, free: 1.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.4342, allocations: 59.42 kB / 1.341 GB, free: 1.086 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4342, allocations: 0 / 1.341 GB, free: 1.086 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.4717, allocations: 6.589 MB / 1.348 GB, free: 10.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.32, allocations: 11.25 kB / 1.348 GB, free: 10.68 MB / 1.045 GB " [Timeout remaining time 289] (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.41867673500019]