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.001873/0.001873, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002408/0.002408, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.812 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.881/2.881, allocations: 476 MB / 0.7699 GB, free: 4.77 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.002108/0.002108, allocations: 67.81 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3296, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00226/0.3319, allocations: 0.7136 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3336, allocations: 1.145 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.3336, allocations: 4 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.3337, allocations: 3.938 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.3338, allocations: 15.86 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.3343, allocations: 125.6 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.3346, allocations: 131.6 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.3347, allocations: 11.52 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.362e-05/0.3348, allocations: 47.89 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3349, allocations: 35.89 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.3349, allocations: 12 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.335, allocations: 27.98 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.335, allocations: 11.88 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.3351, allocations: 35.91 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3353, allocations: 137.3 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3353, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3353, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3353, allocations: 0 / 1.285 GB, free: 10 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.000583/0.3359, allocations: 319.8 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3359, allocations: 12.03 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.336, allocations: 38.73 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.336, allocations: 8.891 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3362, allocations: 114.5 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3362, allocations: 384 / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.3362, allocations: 12.38 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3364, allocations: 46.19 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3364, allocations: 3.938 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3364, allocations: 3.984 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3364, allocations: 0 / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.3364, allocations: 16 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.3369, allocations: 275.9 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.47e-05/0.337, allocations: 30.52 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.337, allocations: 12.92 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.337, allocations: 0 / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.3372, allocations: 63.38 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3372, allocations: 4 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002593/0.3375, allocations: 81.58 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.3375, allocations: 51.41 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3377, allocations: 133.7 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.3377, allocations: 33.7 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.3378, allocations: 88.14 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3378, allocations: 11.89 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.3379, allocations: 29.7 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3381, allocations: 326.8 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3382, allocations: 65.69 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3383, allocations: 92.25 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3385, allocations: 96.14 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3385, allocations: 4.062 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003234/0.3388, allocations: 197 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.3388, allocations: 37.69 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3388, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3389, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.3389, allocations: 4.234 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3389, allocations: 0 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3391, allocations: 31.92 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3391, allocations: 8.047 kB / 1.287 GB, free: 7.539 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 0.0001092/0.3393, allocations: 125.8 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.3393, allocations: 7.984 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.3393, allocations: 4 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3393, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3393, allocations: 3.938 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3393, allocations: 0 / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.3395, allocations: 144.7 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3395, allocations: 0 / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.3395, allocations: 4 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3395, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3395, allocations: 4 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3395, allocations: 0 / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3395, allocations: 80 / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.3396, allocations: 97 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.3396, allocations: 11.95 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3397, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.3397, allocations: 3.938 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.3397, allocations: 3.984 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3397, allocations: 4 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.836e-05/0.3398, allocations: 99.7 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3398, allocations: 3.938 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002218/0.34, allocations: 23.94 kB / 1.288 GB, free: 6.934 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.000455/0.3405, allocations: 0.628 MB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.3407, allocations: 157 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3407, allocations: 0 / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.3408, allocations: 15.98 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.341, allocations: 23.92 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3428, allocations: 1.636 MB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.3429, allocations: 71.23 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.3429, allocations: 4 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.3429, allocations: 19.44 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3429, allocations: 0 / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.3722, allocations: 3.013 MB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.78, allocations: 5.172 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.548810163978487]