Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_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.007324/0.007324, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001704/0.001704, allocations: 193 kB / 16.67 MB, free: 5.934 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9687/0.9707, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002472/0.9732, allocations: 1.16 MB / 1.221 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.9762, allocations: 2.172 MB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.9763, allocations: 4 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.19e-05/0.9764, allocations: 19.69 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.9766, allocations: 79.27 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.9799, allocations: 1.403 MB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.9818, allocations: 1.295 MB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.9819, allocations: 24.73 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/0.9826, allocations: 475.3 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.9833, allocations: 438.8 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.9835, allocations: 104 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.9838, allocations: 123.9 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.9839, allocations: 63.75 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004645/0.9844, allocations: 391 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.9854, allocations: 0.9658 MB / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9854, allocations: 0 / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9855, allocations: 0 / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.9855, allocations: 0 / 1.229 GB, free: 9.406 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001455/0.9869, allocations: 1.179 MB / 1.23 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.987, allocations: 12.03 kB / 1.23 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.9871, allocations: 42.73 kB / 1.23 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.9873, allocations: 64.75 kB / 1.23 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.9875, allocations: 228.5 kB / 1.23 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.9875, allocations: 40.36 kB / 1.23 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.9877, allocations: 68.36 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.988, allocations: 211 kB / 1.23 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.988, allocations: 7.875 kB / 1.23 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.9881, allocations: 4 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.9881, allocations: 7.938 kB / 1.23 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.9882, allocations: 67.78 kB / 1.231 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009353/0.9892, allocations: 0.8484 MB / 1.231 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.9895, allocations: 324.2 kB / 1.232 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.9897, allocations: 140.9 kB / 1.232 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.9897, allocations: 8 kB / 1.232 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005996/0.9903, allocations: 470.9 kB / 1.232 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 1.683e-06/0.9903, allocations: 0 / 1.232 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001128/0.9915, allocations: 0.5619 MB / 1.233 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002623/0.9917, allocations: 443.2 kB / 1.233 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.9921, allocations: 296.4 kB / 1.234 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.9922, allocations: 65.7 kB / 1.234 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.9924, allocations: 165.3 kB / 1.234 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.9925, allocations: 99.31 kB / 1.234 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000494/0.993, allocations: 270.1 kB / 1.234 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.9932, allocations: 350.8 kB / 1.234 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008789/0.9941, allocations: 433.2 kB / 1.235 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.9952, allocations: 0.7028 MB / 1.236 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.9967, allocations: 1.183 MB / 1.237 GB, free: 108 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.9968, allocations: 4 kB / 1.237 GB, free: 104 kB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002963/0.9997, allocations: 1.729 MB / 1.238 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003641/1, allocations: 477.5 kB / 1.239 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1, allocations: 12 kB / 1.239 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1, allocations: 12 kB / 1.239 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/1, allocations: 39.78 kB / 1.239 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/1, allocations: 15.94 kB / 1.239 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.002, allocations: 415.4 kB / 1.239 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/1.003, allocations: 103.9 kB / 1.239 GB, free: 13.13 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003714/1.003, allocations: 213.6 kB / 1.24 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/1.003, allocations: 43.7 kB / 1.24 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/1.003, allocations: 42.14 kB / 1.24 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.003, allocations: 8 kB / 1.24 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.003, allocations: 4 kB / 1.24 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.003, allocations: 7.984 kB / 1.24 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/1.004, allocations: 333.3 kB / 1.24 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.004, allocations: 4 kB / 1.24 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/1.004, allocations: 27.8 kB / 1.24 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.004, allocations: 4 kB / 1.24 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/1.004, allocations: 19.98 kB / 1.24 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.004, allocations: 4 kB / 1.24 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.004, allocations: 7.984 kB / 1.24 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007316/1.005, allocations: 0.5237 MB / 1.241 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.863e-05/1.005, allocations: 124.8 kB / 1.241 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/1.005, allocations: 15.98 kB / 1.241 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/1.005, allocations: 11.98 kB / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.005, allocations: 63.88 kB / 1.241 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/1.005, allocations: 27.98 kB / 1.241 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002429/1.005, allocations: 191 kB / 1.241 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/1.005, allocations: 0 / 1.241 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000731/1.006, allocations: 196 kB / 1.241 GB, free: 11.14 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001108/1.007, allocations: 1.094 MB / 1.242 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00231/1.009, allocations: 1.754 MB / 1.244 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.009, allocations: 0 / 1.244 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/1.01, allocations: 184.3 kB / 1.244 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/1.011, allocations: 144.2 kB / 1.244 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.021, allocations: 6.463 MB / 1.251 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/1.021, allocations: 0.7761 MB / 1.251 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001708/1.021, allocations: 46.97 kB / 1.251 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.021, allocations: 107.4 kB / 1.252 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of SimCode: time 1.102e-06/1.021, allocations: 0 / 1.252 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04312/1.065, allocations: 14.85 MB / 1.266 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.042/10.11, allocations: 14.59 kB / 1.266 GB, free: 1.172 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches