Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.88 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5683/0.5696, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00175/0.5714, allocations: 1.018 MB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.5727, allocations: 1.432 MB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.5727, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.5728, allocations: 11.86 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.5729, allocations: 47.64 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.5737, allocations: 415.2 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.5741, allocations: 0.5147 MB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.5742, allocations: 53.64 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.5744, allocations: 183.5 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.5745, allocations: 139.5 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.5746, allocations: 52 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.5746, allocations: 59.98 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.5747, allocations: 39.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.5748, allocations: 163.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.5752, allocations: 496.9 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5752, allocations: 7.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5752, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5752, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 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.0005942/0.5758, allocations: 0.6301 MB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.5758, allocations: 8.031 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.5759, allocations: 42.73 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.5759, allocations: 28.66 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.5761, allocations: 219 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.5761, allocations: 24.3 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.5762, allocations: 20.38 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5763, allocations: 129.6 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5763, allocations: 3.938 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5764, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5764, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.5765, allocations: 51.91 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.5772, allocations: 0.8795 MB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.5773, allocations: 118.4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.5774, allocations: 51.48 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.5774, allocations: 7.938 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.5776, allocations: 166.7 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.5776, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003694/0.578, allocations: 226 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.5781, allocations: 140.4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.5783, allocations: 248.8 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.5783, allocations: 37.7 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.5784, allocations: 124.5 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.5784, allocations: 39.53 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.5786, allocations: 89.66 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.5787, allocations: 334.8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.5789, allocations: 144.2 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.5792, allocations: 219.9 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.5796, allocations: 368.9 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5796, allocations: 3.938 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007566/0.5803, allocations: 0.5545 MB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/0.5804, allocations: 138.8 kB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5804, allocations: 4 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.5804, allocations: 0 / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.5805, allocations: 19.92 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5805, allocations: 4 kB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.5811, allocations: 119.9 kB / 1.026 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.5812, allocations: 27.98 kB / 1.026 GB, free: 8.445 MB / 0.7794 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.0001237/0.5813, allocations: 150.5 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.5813, allocations: 19.8 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.5814, allocations: 25.23 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5814, allocations: 0 / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5814, allocations: 4 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5814, allocations: 7.922 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.5816, allocations: 261.4 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5816, allocations: 3.938 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.5816, allocations: 8 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5816, allocations: 0 / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.5817, allocations: 7.984 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5817, allocations: 11.94 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.5817, allocations: 0 / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.5819, allocations: 208.8 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.582, allocations: 108.8 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.582, allocations: 4 kB / 1.027 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.5821, allocations: 11.98 kB / 1.027 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.5821, allocations: 23.86 kB / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.5821, allocations: 4 kB / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001178/0.5822, allocations: 172.5 kB / 1.027 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5822, allocations: 0 / 1.027 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000289/0.5825, allocations: 67.94 kB / 1.028 GB, free: 7.266 MB / 0.7794 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.0004477/0.583, allocations: 0.7648 MB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.5836, allocations: 0.5329 MB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5836, allocations: 4.125 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.5837, allocations: 71.84 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.584, allocations: 68.25 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.5871, allocations: 3.02 MB / 1.032 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.5873, allocations: 0.7242 MB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.387e-05/0.5874, allocations: 21.53 kB / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.5875, allocations: 67.41 kB / 1.033 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5875, allocations: 3.938 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.758/3.345, allocations: 6.259 MB / 1.039 GB, free: 11.63 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/3.346, allocations: 214.3 kB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.296/6.641, allocations: 4 kB / 1.039 GB, free: 11.37 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches