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.01877/0.01877, allocations: 101.2 kB / 15.73 MB, free: 5.996 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.002303/0.002303, allocations: 185.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.659/2.659, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 5.019/5.019, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003301/0.003301, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5303, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003434/0.5338, allocations: 0.9767 MB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.5374, allocations: 1.432 MB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.5375, allocations: 0 / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.28e-05/0.5376, allocations: 11.81 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.5379, allocations: 51.52 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.5397, allocations: 441.3 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.5408, allocations: 0.5224 MB / 1.17 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.541, allocations: 37.67 kB / 1.17 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.5414, allocations: 183.6 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.5418, allocations: 167.4 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.542, allocations: 48 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.5422, allocations: 63.98 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.5423, allocations: 47.73 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.5426, allocations: 163.5 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009369/0.5435, allocations: 0.4948 MB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5436, allocations: 0 / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5436, allocations: 0 / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5436, allocations: 0 / 1.171 GB, free: 2.664 MB / 0.92 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.001453/0.5451, allocations: 0.6416 MB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.5451, allocations: 12.03 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.5452, allocations: 42.73 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.5454, allocations: 36.8 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.5457, allocations: 215.2 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.5457, allocations: 24.3 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.5458, allocations: 20.38 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.5461, allocations: 117.6 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5462, allocations: 3.938 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.5462, allocations: 4 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.5462, allocations: 0 / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.5464, allocations: 63.91 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.5481, allocations: 0.8679 MB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.5483, allocations: 118.4 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.5485, allocations: 55.42 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.5485, allocations: 0 / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004676/0.549, allocations: 180.4 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.549, allocations: 0 / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0008889/0.5499, allocations: 225.5 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.5501, allocations: 144.5 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.5506, allocations: 248.8 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.56e-05/0.5507, allocations: 37.7 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.551, allocations: 124.5 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.5511, allocations: 35.64 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.5514, allocations: 93.66 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003751/0.5518, allocations: 330.8 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/0.5524, allocations: 148.2 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/0.5532, allocations: 239.3 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.5539, allocations: 361 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.554, allocations: 4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001995/0.556, allocations: 0.5507 MB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.5562, allocations: 138.8 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.5562, allocations: 4 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.5562, allocations: 4 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5564, allocations: 15.92 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.5564, allocations: 4 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5574, allocations: 119.9 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5575, allocations: 27.98 kB / 1.176 GB, free: 12.98 MB / 0.9356 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.0002655/0.5578, allocations: 149.8 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.5579, allocations: 23.86 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.558, allocations: 21.23 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.558, allocations: 4 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.558, allocations: 0 / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.558, allocations: 3.938 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.5586, allocations: 265.4 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5586, allocations: 3.938 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.5587, allocations: 15.92 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.5587, allocations: 8 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.5588, allocations: 12 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.5588, allocations: 0 / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5588, allocations: 0 / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.5593, allocations: 215.4 kB / 1.176 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.5595, allocations: 97.84 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.5595, allocations: 15.98 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.5596, allocations: 0 / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.5597, allocations: 19.92 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.5598, allocations: 8 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002953/0.5601, allocations: 168.5 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5601, allocations: 0 / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006631/0.5607, allocations: 64 kB / 1.177 GB, free: 11.79 MB / 0.9356 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.001193/0.5619, allocations: 0.771 MB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.5633, allocations: 0.5251 MB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5633, allocations: 0 / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.5636, allocations: 75.83 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.5643, allocations: 68.44 kB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/0.5714, allocations: 3.008 MB / 1.181 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.572, allocations: 0.7281 MB / 1.182 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.5721, allocations: 17.55 kB / 1.182 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.5723, allocations: 63.41 kB / 1.182 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of SimCode: time 6.12e-07/0.5723, allocations: 0 / 1.182 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09896/0.6712, allocations: 6.411 MB / 1.188 GB, free: 0 / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/18.4, allocations: 11.84 kB / 1.188 GB, free: 15.98 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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