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.001991/0.001991, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00229/0.00229, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.297/3.297, allocations: 0.49 GB / 0.7959 GB, free: 35.32 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="cs",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="cs",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.00201/0.00201, allocations: 67.39 kB / 1.155 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4457, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002809/0.4485, allocations: 0.9193 MB / 1.328 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.451, allocations: 1.451 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.4512, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.798e-05/0.4512, allocations: 19.75 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.4515, allocations: 67.55 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.4529, allocations: 442.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008705/0.4538, allocations: 491.1 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.4539, allocations: 34.23 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.4544, allocations: 191.5 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.4548, allocations: 163.5 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.4549, allocations: 48 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.4552, allocations: 63.98 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.4552, allocations: 39.8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.4555, allocations: 147.5 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007908/0.4563, allocations: 0.4984 MB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4563, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.836e-06/0.4563, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.4563, allocations: 0 / 1.331 GB, free: 12.95 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.00133/0.4576, allocations: 0.5703 MB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4577, allocations: 11.97 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.279e-05/0.4577, allocations: 4.188 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.4578, allocations: 38.75 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.4579, allocations: 24.84 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.4581, allocations: 173.2 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.4582, allocations: 12.38 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.4582, allocations: 24.38 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.4585, allocations: 121.4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4585, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.4585, allocations: 11.98 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4585, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.4586, allocations: 55.92 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.4599, allocations: 0.75 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.4601, allocations: 122.4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.4602, allocations: 51.48 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.4602, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.4606, allocations: 174.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.4606, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005538/0.4611, allocations: 234 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4612, allocations: 136.5 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.4616, allocations: 248.8 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/0.4616, allocations: 37.7 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4618, allocations: 136.4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.4618, allocations: 35.73 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.4621, allocations: 89.66 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4622, allocations: 334.8 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.4627, allocations: 275 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.4631, allocations: 354.4 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.4636, allocations: 361 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4636, allocations: 0 / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001143/0.4648, allocations: 0.698 MB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.4649, allocations: 130.8 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4649, allocations: 7.984 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.4649, allocations: 4 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.465, allocations: 15.94 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.465, allocations: 11.92 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.4657, allocations: 108 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.4658, allocations: 31.97 kB / 1.336 GB, free: 7.082 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.0002083/0.466, allocations: 154.2 kB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.466, allocations: 23.86 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.4661, allocations: 21.33 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4661, allocations: 4 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4661, allocations: 3.938 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4661, allocations: 4 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.4664, allocations: 204.7 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4664, allocations: 4 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.4665, allocations: 11.94 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.4665, allocations: 0 / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.4665, allocations: 11.98 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4665, allocations: 4 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4665, allocations: 7.938 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.4668, allocations: 221 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.4669, allocations: 27.84 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.4669, allocations: 0 / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.467, allocations: 8 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.467, allocations: 19.91 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.4671, allocations: 8 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001817/0.4672, allocations: 168.5 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4672, allocations: 0 / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003799/0.4676, allocations: 64 kB / 1.337 GB, free: 6.047 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.000783/0.4684, allocations: 0.7673 MB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008917/0.4693, allocations: 0.6116 MB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4693, allocations: 0 / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4694, allocations: 60.47 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.4699, allocations: 66.91 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.4748, allocations: 3.544 MB / 1.342 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.4749, allocations: 120.9 kB / 1.342 GB, free: 476 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.746e-05/0.475, allocations: 17.64 kB / 1.342 GB, free: 460 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4751, allocations: 59.42 kB / 1.342 GB, free: 400 kB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/0.4751, allocations: 0 / 1.342 GB, free: 400 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.5084, allocations: 7.085 MB / 1.349 GB, free: 9.578 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.23, allocations: 1.719 kB / 1.349 GB, free: 9.578 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] [Calling os._exit(0), Time elapsed: 19.30185127002187] Failed to read output from testmodel.py, exit status != 0: 12.396602508961223 12.412270859 11.952819863 Calling exit ...