Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.007668/0.007667, allocations: 96.84 kB / 15.73 MB, free: 6.035 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.001132/0.001132, allocations: 204.5 kB / 16.68 MB, free: 5.961 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.903/2.903, allocations: 469.4 MB / 0.7422 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3314, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002932/0.3344, allocations: 1.157 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.3376, allocations: 2.18 MB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.3379, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.46e-05/0.338, allocations: 19.69 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.3384, allocations: 103.2 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.3418, allocations: 1.388 MB / 1.225 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.3437, allocations: 1.299 MB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.3438, allocations: 24.73 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009165/0.3447, allocations: 475.3 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.3456, allocations: 438.8 kB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004331/0.346, allocations: 104 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.3465, allocations: 124 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3466, allocations: 59.75 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007289/0.3473, allocations: 391 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.3487, allocations: 0.966 MB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3488, allocations: 0 / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3488, allocations: 0 / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.561e-05/0.3488, allocations: 0 / 1.228 GB, free: 5.965 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002095/0.3509, allocations: 1.191 MB / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.351, allocations: 8.031 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.351, allocations: 42.73 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.3513, allocations: 68.75 kB / 1.23 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3515, allocations: 224.5 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/0.3516, allocations: 36.36 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.3519, allocations: 68.36 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.3522, allocations: 214.9 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3522, allocations: 3.938 kB / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3522, allocations: 4 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.3522, allocations: 0 / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3524, allocations: 75.78 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3534, allocations: 0.8484 MB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.3538, allocations: 327.2 kB / 1.231 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.354, allocations: 136.9 kB / 1.231 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.354, allocations: 12 kB / 1.231 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006897/0.3547, allocations: 462.9 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 4.519e-06/0.3547, allocations: 0 / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.001219/0.3559, allocations: 0.562 MB / 1.232 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002159/0.3562, allocations: 439.2 kB / 1.233 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.3565, allocations: 304.4 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.3567, allocations: 65.7 kB / 1.233 GB, free: 220 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.3569, allocations: 161.4 kB / 1.233 GB, free: 52 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.3571, allocations: 99.25 kB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005592/0.3576, allocations: 282 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3578, allocations: 346.8 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/0.3587, allocations: 425.3 kB / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3598, allocations: 0.7028 MB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.3612, allocations: 1.191 MB / 1.236 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/0.3612, allocations: 4 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003199/0.3645, allocations: 1.728 MB / 1.238 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.3648, allocations: 483.3 kB / 1.238 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.3648, allocations: 8 kB / 1.238 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.3648, allocations: 16 kB / 1.238 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.3649, allocations: 36.72 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/0.365, allocations: 15.94 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.3672, allocations: 407.2 kB / 1.239 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.3674, allocations: 99.91 kB / 1.239 GB, free: 9.691 MB / 0.9981 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.000443/0.3679, allocations: 218.1 kB / 1.239 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.368, allocations: 47.7 kB / 1.239 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/0.3681, allocations: 34.14 kB / 1.239 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.3681, allocations: 8 kB / 1.239 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.3681, allocations: 11.94 kB / 1.239 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3682, allocations: 7.984 kB / 1.239 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.3687, allocations: 329.3 kB / 1.24 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3687, allocations: 4 kB / 1.24 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.3687, allocations: 31.86 kB / 1.24 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.3688, allocations: 7.984 kB / 1.24 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.3688, allocations: 23.98 kB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.3688, allocations: 4 kB / 1.24 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.3688, allocations: 7.984 kB / 1.24 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.3695, allocations: 0.5158 MB / 1.24 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3697, allocations: 120.8 kB / 1.24 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.3697, allocations: 19.92 kB / 1.24 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3699, allocations: 15.98 kB / 1.24 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.37, allocations: 55.88 kB / 1.24 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.37, allocations: 31.98 kB / 1.24 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001748/0.3702, allocations: 187.1 kB / 1.241 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3702, allocations: 3.938 kB / 1.241 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007472/0.371, allocations: 200 kB / 1.241 GB, free: 7.688 MB / 0.9981 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.001042/0.372, allocations: 1.081 MB / 1.242 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.3741, allocations: 1.755 MB / 1.244 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3741, allocations: 8.062 kB / 1.244 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.3744, allocations: 179.7 kB / 1.244 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.3751, allocations: 136.7 kB / 1.244 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7367/1.112, allocations: 6.458 MB / 1.25 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/1.112, allocations: 0.7783 MB / 1.251 GB, free: 27.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000209/1.112, allocations: 45.23 kB / 1.251 GB, free: 27.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/1.113, allocations: 106.7 kB / 1.251 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.113, allocations: 0 / 1.251 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/1.154, allocations: 14.86 MB / 1.266 GB, free: 26.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/9.57, allocations: 11.77 kB / 1.266 GB, free: 26.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches