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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004254/0.004254, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.00125/0.00125, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2741, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002114/0.2763, allocations: 0.9659 MB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2782, allocations: 1.435 MB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.2783, allocations: 0 / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.236e-05/0.2784, allocations: 15.75 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2786, allocations: 55.55 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2796, allocations: 445.9 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006178/0.2803, allocations: 0.5108 MB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2804, allocations: 49.61 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.2807, allocations: 187.6 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.2809, allocations: 151.5 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.629e-05/0.281, allocations: 52 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.2812, allocations: 67.92 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.2812, allocations: 39.84 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.2814, allocations: 167.4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.282, allocations: 0.4906 MB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.282, allocations: 0 / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.282, allocations: 4 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.282, allocations: 0 / 1.225 GB, free: 9.672 MB / 0.9825 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.000865/0.2829, allocations: 0.63 MB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2829, allocations: 8.031 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.283, allocations: 42.73 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.721e-05/0.2831, allocations: 28.8 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.2833, allocations: 231 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.2833, allocations: 12.36 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.2834, allocations: 24.38 kB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.2836, allocations: 125.6 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2837, allocations: 7.875 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2837, allocations: 0 / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2837, allocations: 4 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.2838, allocations: 51.97 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2848, allocations: 0.8912 MB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.285, allocations: 114.4 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.2851, allocations: 55.48 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.2851, allocations: 0 / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.2855, allocations: 185 kB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2855, allocations: 0 / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004833/0.286, allocations: 230 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.2861, allocations: 136.5 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.2863, allocations: 240.9 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.2864, allocations: 37.7 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2865, allocations: 132.5 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.2866, allocations: 39.73 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.2868, allocations: 85.66 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.287, allocations: 334.8 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.2873, allocations: 144.2 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.2877, allocations: 233.3 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.2882, allocations: 361 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2882, allocations: 0 / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001009/0.2892, allocations: 0.5587 MB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.2893, allocations: 144.7 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2893, allocations: 0 / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2894, allocations: 4 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.2894, allocations: 15.98 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2895, allocations: 7.938 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.2902, allocations: 119.7 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.2902, allocations: 23.98 kB / 1.23 GB, free: 3.98 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.0001629/0.2904, allocations: 145.8 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.2904, allocations: 15.91 kB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.2905, allocations: 25.23 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2905, allocations: 0 / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2905, allocations: 11.94 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2905, allocations: 3.938 kB / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.2908, allocations: 261.5 kB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2908, allocations: 0 / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.2909, allocations: 11.98 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2909, allocations: 0 / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2909, allocations: 8 kB / 1.23 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2909, allocations: 0 / 1.23 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2909, allocations: 4 kB / 1.23 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.2912, allocations: 219.4 kB / 1.23 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.2913, allocations: 105 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.2913, allocations: 0 / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.2914, allocations: 7.938 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.2915, allocations: 19.92 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.2915, allocations: 11.98 kB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001606/0.2917, allocations: 164.5 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2917, allocations: 0 / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003471/0.292, allocations: 75.88 kB / 1.231 GB, free: 2.805 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.0006857/0.2927, allocations: 0.7717 MB / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.2935, allocations: 0.5276 MB / 1.232 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2935, allocations: 0 / 1.232 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2936, allocations: 68.52 kB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.2941, allocations: 73.12 kB / 1.232 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.2983, allocations: 3.02 MB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.2987, allocations: 0.732 MB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.051e-05/0.2987, allocations: 17.55 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.2988, allocations: 63.41 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of SimCode: time 4.6e-07/0.2989, allocations: 0 / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3272, allocations: 6.399 MB / 1.242 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.213, allocations: 10.25 kB / 1.242 GB, free: 6.988 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches