Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001482/0.001482, allocations: 114.5 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.002026/0.002026, allocations: 217 kB / 22.25 MB, free: 5.082 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.399/3.399, allocations: 0.505 GB / 0.8101 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002027/0.002027, allocations: 67.48 kB / 1.177 GB, free: 17.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4305, allocations: 180.2 MB / 1.353 GB, free: 8.555 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002526/0.4331, allocations: 0.9684 MB / 1.354 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.4354, allocations: 1.475 MB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4355, allocations: 4 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.472e-05/0.4356, allocations: 11.81 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.4358, allocations: 59.56 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.4372, allocations: 441.7 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007369/0.438, allocations: 499 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.4381, allocations: 29.95 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.4384, allocations: 187.6 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.4388, allocations: 163.5 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.4389, allocations: 48 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.4391, allocations: 64 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.4391, allocations: 39.78 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.4394, allocations: 167.5 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.44, allocations: 0.4987 MB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.44, allocations: 0 / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.363e-06/0.44, allocations: 0 / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.4401, allocations: 4 kB / 1.357 GB, free: 3.926 MB / 1.045 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.001065/0.4411, allocations: 0.5624 MB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4412, allocations: 8.031 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.4412, allocations: 42.73 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.4413, allocations: 28.8 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.4415, allocations: 169.2 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.4416, allocations: 20.36 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.4416, allocations: 24.31 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.4419, allocations: 123.4 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4419, allocations: 3.938 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4419, allocations: 0 / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.4419, allocations: 4 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.442, allocations: 55.91 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.4432, allocations: 0.8474 MB / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.4434, allocations: 119 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.4435, allocations: 51.44 kB / 1.359 GB, free: 1.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.4435, allocations: 3.984 kB / 1.359 GB, free: 1.668 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003742/0.4439, allocations: 178.6 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.4439, allocations: 0 / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0005174/0.4444, allocations: 221.4 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.4445, allocations: 136.5 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.4448, allocations: 252.8 kB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.4449, allocations: 37.7 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.445, allocations: 132.5 kB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.445, allocations: 31.8 kB / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.4452, allocations: 89.66 kB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4454, allocations: 330.8 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.4457, allocations: 144.2 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.4461, allocations: 233.8 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.4466, allocations: 364.9 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4466, allocations: 4 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009981/0.4476, allocations: 0.5623 MB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.4477, allocations: 138.8 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4477, allocations: 0 / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.4477, allocations: 4 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.4478, allocations: 19.94 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4478, allocations: 4 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.4485, allocations: 119.9 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.4485, allocations: 19.98 kB / 1.362 GB, free: 14.45 MB / 1.061 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.0001995/0.4487, allocations: 161.6 kB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.4488, allocations: 27.84 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.4488, allocations: 21.34 kB / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4488, allocations: 0 / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4488, allocations: 4 kB / 1.362 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4488, allocations: 7.922 kB / 1.362 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.4491, allocations: 228.6 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.4491, allocations: 4 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.4492, allocations: 11.94 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4492, allocations: 0 / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4492, allocations: 7.984 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4492, allocations: 11.94 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4492, allocations: 0 / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.4495, allocations: 218.6 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.4496, allocations: 23.84 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.4496, allocations: 11.94 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.4497, allocations: 4 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.4497, allocations: 19.91 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.4497, allocations: 8 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001872/0.4499, allocations: 168.5 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4499, allocations: 0 / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003612/0.4503, allocations: 64 kB / 1.363 GB, free: 13.37 MB / 1.061 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.0007666/0.4511, allocations: 0.7712 MB / 1.364 GB, free: 12.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007666/0.4518, allocations: 481.8 kB / 1.364 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4518, allocations: 64 / 1.364 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4519, allocations: 71.84 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.4524, allocations: 62.44 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.4569, allocations: 3.029 MB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.4573, allocations: 0.7281 MB / 1.368 GB, free: 7.938 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.109e-05/0.4574, allocations: 17.64 kB / 1.368 GB, free: 7.918 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4575, allocations: 59.41 kB / 1.368 GB, free: 7.859 MB / 1.061 GB Notification: Performance of SimCode: time 8.31e-07/0.4575, allocations: 0 / 1.368 GB, free: 7.859 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.4979, allocations: 6.584 MB / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.76, allocations: 8.609 kB / 1.375 GB, free: 1.449 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.818709562066942]