Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_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_10_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.001202/0.001203, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001308, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.537/2.537, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.635, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002147/0.6372, allocations: 1.169 MB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.6396, allocations: 2.169 MB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.6397, allocations: 7.938 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.6398, allocations: 19.69 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.6399, allocations: 83.27 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.6427, allocations: 1.384 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.6438, allocations: 1.287 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.6439, allocations: 24.73 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.6443, allocations: 479.2 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.6446, allocations: 347.1 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.6448, allocations: 104 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.645, allocations: 120 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.6451, allocations: 55.77 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.6455, allocations: 399 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.6462, allocations: 0.9568 MB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6462, allocations: 0 / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.909e-06/0.6462, allocations: 0 / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.6463, allocations: 11.86 kB / 1.026 GB, free: 9.883 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001079/0.6473, allocations: 1.172 MB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.6474, allocations: 8.031 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.6474, allocations: 42.73 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.6476, allocations: 68.55 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6477, allocations: 216.5 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.6478, allocations: 44.36 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.6479, allocations: 60.38 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.6482, allocations: 218.8 kB / 1.028 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6482, allocations: 3.938 kB / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.6482, allocations: 7.984 kB / 1.028 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6482, allocations: 4 kB / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.6483, allocations: 75.72 kB / 1.028 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.6491, allocations: 0.8406 MB / 1.028 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.6493, allocations: 323.2 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.6495, allocations: 136.9 kB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.6495, allocations: 19.91 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.65, allocations: 466.5 kB / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=45): time 1.864e-06/0.65, allocations: 0 / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45): time 0.0008999/0.6509, allocations: 0.5616 MB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.651, allocations: 447.2 kB / 1.03 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.6513, allocations: 296.2 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.6514, allocations: 69.69 kB / 1.031 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.6515, allocations: 157.3 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.6516, allocations: 94.84 kB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/0.652, allocations: 274 kB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6521, allocations: 358.8 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.6529, allocations: 421.2 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/0.6538, allocations: 0.7028 MB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.655, allocations: 1.187 MB / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.655, allocations: 4 kB / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002411/0.6574, allocations: 1.736 MB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.6576, allocations: 477.4 kB / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.6576, allocations: 12 kB / 1.036 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.6577, allocations: 12 kB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.648e-05/0.6577, allocations: 31.86 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.6578, allocations: 23.92 kB / 1.036 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.66, allocations: 411.5 kB / 1.036 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.6602, allocations: 99.91 kB / 1.037 GB, free: 13.63 MB / 0.795 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.0002982/0.6605, allocations: 221.5 kB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.6606, allocations: 43.47 kB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.6607, allocations: 42.14 kB / 1.037 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6607, allocations: 8 kB / 1.037 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.6607, allocations: 11.98 kB / 1.037 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6607, allocations: 4 kB / 1.037 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.6611, allocations: 337.3 kB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.6611, allocations: 4 kB / 1.037 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.6611, allocations: 23.86 kB / 1.037 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.6611, allocations: 8 kB / 1.037 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.6612, allocations: 15.98 kB / 1.037 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/0.6612, allocations: 11.98 kB / 1.037 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6612, allocations: 11.94 kB / 1.037 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.6618, allocations: 0.5043 MB / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.6619, allocations: 112.6 kB / 1.038 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.6619, allocations: 15.98 kB / 1.038 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.662, allocations: 19.98 kB / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.6621, allocations: 63.81 kB / 1.038 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.6621, allocations: 27.98 kB / 1.038 GB, free: 12.03 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000163/0.6623, allocations: 187.1 kB / 1.038 GB, free: 11.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6623, allocations: 0 / 1.038 GB, free: 11.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000612/0.6629, allocations: 200 kB / 1.038 GB, free: 11.65 MB / 0.795 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.0008712/0.6638, allocations: 1.081 MB / 1.039 GB, free: 10.49 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.6656, allocations: 1.765 MB / 1.041 GB, free: 8.543 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6656, allocations: 0.9375 kB / 1.041 GB, free: 8.543 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.6659, allocations: 187.7 kB / 1.041 GB, free: 8.359 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.6666, allocations: 134.2 kB / 1.041 GB, free: 8.227 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008346/0.6749, allocations: 6.453 MB / 1.048 GB, free: 1.246 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.6752, allocations: 0.7798 MB / 1.048 GB, free: 452 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.6754, allocations: 46.97 kB / 1.049 GB, free: 404 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.6755, allocations: 103.4 kB / 1.049 GB, free: 300 kB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/0.6756, allocations: 4 kB / 1.049 GB, free: 296 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.7084, allocations: 14.78 MB / 1.063 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.977, allocations: 7.891 kB / 1.063 GB, free: 1.754 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches