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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 104.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8289, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002089/0.831, allocations: 0.7262 MB / 1.279 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.8325, allocations: 1.168 MB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.8326, allocations: 0 / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.8326, allocations: 3.938 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.8327, allocations: 19.91 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.8332, allocations: 135 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.8334, allocations: 119.8 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.8335, allocations: 11.94 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.8336, allocations: 51.89 kB / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.8337, allocations: 43.83 kB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.8337, allocations: 12 kB / 1.281 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.8338, allocations: 19.98 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.8338, allocations: 8 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.8338, allocations: 47.83 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.834, allocations: 137.4 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8341, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8341, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8341, allocations: 0 / 1.281 GB, free: 10.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005146/0.8346, allocations: 400.9 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8346, allocations: 11.97 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.8346, allocations: 30.75 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.8347, allocations: 12.89 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.8348, allocations: 180.3 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.8349, allocations: 8.375 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.8349, allocations: 4.375 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.835, allocations: 42.25 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.835, allocations: 3.938 kB / 1.281 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.835, allocations: 3.938 kB / 1.281 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.835, allocations: 4 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.8351, allocations: 19.98 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.8355, allocations: 324.8 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.8356, allocations: 30.58 kB / 1.282 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.8356, allocations: 12.91 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.8356, allocations: 3.938 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.8357, allocations: 63.39 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.8357, allocations: 0 / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002161/0.836, allocations: 77.62 kB / 1.282 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.836, allocations: 59.41 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.8361, allocations: 121.8 kB / 1.282 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.8362, allocations: 33.64 kB / 1.282 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.8362, allocations: 92.12 kB / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.8362, allocations: 15.83 kB / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.8363, allocations: 29.7 kB / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8364, allocations: 322.8 kB / 1.283 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.8365, allocations: 39.98 kB / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.8366, allocations: 54.56 kB / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.8368, allocations: 92.2 kB / 1.283 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8368, allocations: 3.938 kB / 1.283 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002894/0.8371, allocations: 163.3 kB / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.8371, allocations: 37.69 kB / 1.283 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8371, allocations: 4.062 kB / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8371, allocations: 0 / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.8372, allocations: 8 kB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.8372, allocations: 0 / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.8374, allocations: 27.92 kB / 1.283 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.8374, allocations: 4 kB / 1.283 GB, free: 8.316 MB / 0.9825 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 9.865e-05/0.8375, allocations: 125.8 kB / 1.283 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.8375, allocations: 7.938 kB / 1.283 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.8375, allocations: 7.906 kB / 1.283 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.8375, allocations: 0 / 1.283 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8375, allocations: 0 / 1.283 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.8375, allocations: 0 / 1.283 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.8377, allocations: 185.5 kB / 1.283 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8377, allocations: 0 / 1.283 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.8377, allocations: 4.062 kB / 1.283 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8377, allocations: 4 kB / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.8377, allocations: 3.938 kB / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8377, allocations: 0 / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8377, allocations: 4 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.8379, allocations: 93.05 kB / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.8379, allocations: 81.06 kB / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.8379, allocations: 0 / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.8379, allocations: 0 / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.838, allocations: 4 kB / 1.283 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.838, allocations: 3.984 kB / 1.283 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.838, allocations: 103.6 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.838, allocations: 4 kB / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002154/0.8383, allocations: 16 kB / 1.284 GB, free: 7.574 MB / 0.9825 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.00049/0.8387, allocations: 0.6401 MB / 1.284 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.839, allocations: 127.6 kB / 1.284 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.839, allocations: 4.125 kB / 1.284 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.299e-05/0.839, allocations: 12.09 kB / 1.284 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.8393, allocations: 13.8 kB / 1.284 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.8409, allocations: 1.502 MB / 1.286 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.8412, allocations: 0.6885 MB / 1.287 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.8413, allocations: 4 kB / 1.287 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.8413, allocations: 23.42 kB / 1.287 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8413, allocations: 3.938 kB / 1.287 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.8663, allocations: 2.37 MB / 1.289 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/9.173, allocations: 1.953 kB / 1.289 GB, free: 2.145 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.254994772840291]