Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.91 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9414/0.9433, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00229/0.9456, allocations: 0.9612 MB / 1.27 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.9476, allocations: 1.441 MB / 1.271 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.9477, allocations: 4 kB / 1.271 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.259e-05/0.9477, allocations: 15.75 kB / 1.271 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.9479, allocations: 63.56 kB / 1.271 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.9489, allocations: 443 kB / 1.272 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000557/0.9495, allocations: 495.1 kB / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.9496, allocations: 37.61 kB / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.9498, allocations: 187.5 kB / 1.272 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.9501, allocations: 163.4 kB / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.483e-05/0.9502, allocations: 52 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.9503, allocations: 63.98 kB / 1.273 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.9503, allocations: 35.86 kB / 1.273 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.9505, allocations: 167.4 kB / 1.273 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.951, allocations: 0.4924 MB / 1.273 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.9511, allocations: 4 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9511, allocations: 0 / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9511, allocations: 0 / 1.273 GB, free: 0.582 MB / 0.9669 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.0009181/0.952, allocations: 0.63 MB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.952, allocations: 8.031 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.9521, allocations: 46.67 kB / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.326e-05/0.9522, allocations: 32.8 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.9524, allocations: 223.1 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.9524, allocations: 16.38 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.9525, allocations: 28.36 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.9527, allocations: 125.5 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9527, allocations: 3.938 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.9527, allocations: 7.938 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.9527, allocations: 8 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.9529, allocations: 51.91 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.9539, allocations: 0.8757 MB / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.9541, allocations: 114.4 kB / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.9542, allocations: 51.48 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.9542, allocations: 0 / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.9545, allocations: 170.6 kB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.9545, allocations: 0 / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004769/0.955, allocations: 233.9 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.9551, allocations: 144.4 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.9554, allocations: 244.9 kB / 1.276 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.9554, allocations: 37.7 kB / 1.276 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.9556, allocations: 120.5 kB / 1.276 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.9556, allocations: 43.72 kB / 1.276 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.9558, allocations: 85.66 kB / 1.276 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.9559, allocations: 334.8 kB / 1.277 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.9563, allocations: 140.2 kB / 1.277 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.9566, allocations: 230.6 kB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.9571, allocations: 368.9 kB / 1.277 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9571, allocations: 4 kB / 1.277 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009719/0.9581, allocations: 0.5624 MB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.9582, allocations: 138.8 kB / 1.278 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.9582, allocations: 0 / 1.278 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.9582, allocations: 4 kB / 1.278 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.9583, allocations: 19.92 kB / 1.278 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.9583, allocations: 4 kB / 1.278 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.9589, allocations: 119.9 kB / 1.278 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.959, allocations: 23.98 kB / 1.278 GB, free: 10.89 MB / 0.9825 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.0001828/0.9592, allocations: 153.8 kB / 1.278 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.9592, allocations: 15.91 kB / 1.278 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.9592, allocations: 25.23 kB / 1.278 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9592, allocations: 0 / 1.278 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.9593, allocations: 4 kB / 1.278 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.9593, allocations: 3.938 kB / 1.278 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.9595, allocations: 261.5 kB / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9595, allocations: 0 / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.9596, allocations: 11.98 kB / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9596, allocations: 0 / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.9596, allocations: 12 kB / 1.279 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.9596, allocations: 0 / 1.279 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9596, allocations: 7.938 kB / 1.279 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.9599, allocations: 215.4 kB / 1.279 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.96, allocations: 101 kB / 1.279 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.96, allocations: 11.98 kB / 1.279 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.9601, allocations: 4 kB / 1.279 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.9601, allocations: 19.92 kB / 1.279 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.9601, allocations: 8 kB / 1.279 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001572/0.9603, allocations: 164.5 kB / 1.279 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9603, allocations: 4 kB / 1.279 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003313/0.9606, allocations: 71.83 kB / 1.279 GB, free: 9.707 MB / 0.9825 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.0006941/0.9613, allocations: 0.7742 MB / 1.28 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000719/0.962, allocations: 486.3 kB / 1.281 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.962, allocations: 0 / 1.281 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.9622, allocations: 64.27 kB / 1.281 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.9626, allocations: 70.84 kB / 1.281 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.9668, allocations: 3.021 MB / 1.284 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.9672, allocations: 0.7358 MB / 1.284 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.583e-05/0.9673, allocations: 21.55 kB / 1.284 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.9674, allocations: 63.41 kB / 1.284 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/0.9674, allocations: 0 / 1.284 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.9991, allocations: 6.416 MB / 1.291 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/9.262, allocations: 16.14 kB / 1.291 GB, free: 13.93 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.410714961588383]