Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.556/2.556, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 71.89 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.763/0.7649, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001645/0.7665, allocations: 0.7405 MB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.7677, allocations: 1.138 MB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.7677, allocations: 0 / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.7678, allocations: 4.688 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.7678, allocations: 16.8 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.7683, allocations: 135.9 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.7684, allocations: 126.8 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.7685, allocations: 9.375 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.7686, allocations: 49.39 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.7687, allocations: 38.55 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.7687, allocations: 12.38 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.7688, allocations: 22.14 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.7688, allocations: 10.98 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.7689, allocations: 49.92 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.769, allocations: 133.1 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.769, allocations: 5.062 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.769, allocations: 3.938 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.769, allocations: 0 / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003731/0.7694, allocations: 394.2 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.7694, allocations: 9.062 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.204e-05/0.7695, allocations: 32.64 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.7695, allocations: 7.141 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.457e-05/0.7696, allocations: 179.3 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.7696, allocations: 3.156 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.7696, allocations: 5.781 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.7697, allocations: 53.91 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7697, allocations: 3.938 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.7697, allocations: 7.906 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.7697, allocations: 0 / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.7698, allocations: 11.16 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.7701, allocations: 329.8 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.7701, allocations: 31.48 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.7701, allocations: 12.7 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.7701, allocations: 2.297 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/0.7702, allocations: 62.84 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.7702, allocations: 4.828 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.7704, allocations: 77.27 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.7704, allocations: 56.25 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.7705, allocations: 128.5 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.7705, allocations: 28.45 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.7706, allocations: 89.16 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.7706, allocations: 15.19 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.7706, allocations: 33.23 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.173e-05/0.7707, allocations: 318.3 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.7707, allocations: 38.55 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.7708, allocations: 57.39 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.7709, allocations: 95.44 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7709, allocations: 0.9688 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000232/0.7711, allocations: 165.9 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.7712, allocations: 41.44 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7712, allocations: 0.8125 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7712, allocations: 1.531 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.7712, allocations: 7.094 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7712, allocations: 2.641 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.7714, allocations: 23.33 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.7714, allocations: 7.047 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 5.919e-05/0.7715, allocations: 123.9 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.7715, allocations: 8.391 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.7715, allocations: 13.47 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.7715, allocations: 4.812 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7715, allocations: 0 / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7715, allocations: 0.7188 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.911e-05/0.7716, allocations: 174.5 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7716, allocations: 0.6562 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.7716, allocations: 6.312 kB / 1.276 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.7716, allocations: 0 / 1.276 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.7716, allocations: 1.922 kB / 1.276 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7716, allocations: 0.6562 kB / 1.276 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7716, allocations: 0.8438 kB / 1.276 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.7717, allocations: 96.58 kB / 1.276 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.7718, allocations: 85.78 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.7718, allocations: 1 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.7718, allocations: 4 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.7718, allocations: 4.969 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.7718, allocations: 5 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.7719, allocations: 93.62 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7719, allocations: 0 / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002051/0.7721, allocations: 26.27 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002972/0.7724, allocations: 0.6309 MB / 1.277 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.7726, allocations: 123.9 kB / 1.277 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7726, allocations: 1.188 kB / 1.277 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.248e-05/0.7726, allocations: 17.06 kB / 1.277 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.7728, allocations: 12.14 kB / 1.277 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.774, allocations: 1.499 MB / 1.279 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.7743, allocations: 0.6931 MB / 1.28 GB, free: 16.69 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.7743, allocations: 5.5 kB / 1.28 GB, free: 16.69 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.7744, allocations: 25.12 kB / 1.28 GB, free: 16.67 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7744, allocations: 0 / 1.28 GB, free: 16.67 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.7977, allocations: 2.352 MB / 1.282 GB, free: 16.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.812, allocations: 3.281 kB / 1.282 GB, free: 16.24 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.239511913998285]