Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001695/0.001695, allocations: 113 kB / 16.46 MB, free: 6.453 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.00204/0.00204, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.256/3.256, allocations: 0.505 GB / 0.8066 GB, free: 23.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002025/0.002025, allocations: 74.5 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00204/0.35, allocations: 0.7219 MB / 1.348 GB, free: 9.246 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3517, allocations: 1.171 MB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.3518, allocations: 4 kB / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.3518, allocations: 0 / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.3519, allocations: 19.86 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.3524, allocations: 141 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.3526, allocations: 119.8 kB / 1.35 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.3527, allocations: 8 kB / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.3528, allocations: 51.84 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3529, allocations: 43.81 kB / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.3529, allocations: 12 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.353, allocations: 27.98 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.353, allocations: 8 kB / 1.35 GB, free: 7.641 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.3531, allocations: 43.78 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3533, allocations: 131.9 kB / 1.35 GB, free: 7.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3533, allocations: 7.938 kB / 1.35 GB, free: 7.461 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3533, allocations: 0 / 1.35 GB, free: 7.461 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3534, allocations: 3.938 kB / 1.35 GB, free: 7.457 MB / 1.045 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.0006463/0.354, allocations: 400.9 kB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.3541, allocations: 11.98 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.3541, allocations: 30.75 kB / 1.351 GB, free: 6.957 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.3542, allocations: 12.89 kB / 1.351 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.3544, allocations: 180.3 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3544, allocations: 384 / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.3544, allocations: 8.375 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.3545, allocations: 42.25 kB / 1.351 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3545, allocations: 3.938 kB / 1.351 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3545, allocations: 4 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3545, allocations: 0 / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/0.3546, allocations: 19.92 kB / 1.351 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.3551, allocations: 336.7 kB / 1.351 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.3552, allocations: 26.58 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.3552, allocations: 8.922 kB / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.3552, allocations: 0 / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.3554, allocations: 75.28 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3554, allocations: 4 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002566/0.3557, allocations: 73.67 kB / 1.351 GB, free: 6.055 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3557, allocations: 51.41 kB / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3559, allocations: 125.8 kB / 1.352 GB, free: 5.859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3559, allocations: 25.7 kB / 1.352 GB, free: 5.828 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.356, allocations: 96.08 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.356, allocations: 7.953 kB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.3561, allocations: 33.7 kB / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3562, allocations: 322.8 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.3563, allocations: 43.92 kB / 1.352 GB, free: 5.316 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3564, allocations: 58.48 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3566, allocations: 88.27 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3566, allocations: 0 / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003447/0.3569, allocations: 171.2 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.357, allocations: 44.19 kB / 1.352 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.357, allocations: 0 / 1.352 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.357, allocations: 0 / 1.352 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.3571, allocations: 7.938 kB / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3571, allocations: 0 / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.3573, allocations: 23.97 kB / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.3573, allocations: 7.938 kB / 1.352 GB, free: 4.883 MB / 1.045 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.0001274/0.3574, allocations: 129.8 kB / 1.353 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.3574, allocations: 3.953 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.3575, allocations: 11.91 kB / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3575, allocations: 0 / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3575, allocations: 0 / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3575, allocations: 0 / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.3577, allocations: 177.6 kB / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3577, allocations: 0 / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.3577, allocations: 0 / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3577, allocations: 0 / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3577, allocations: 8 kB / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3577, allocations: 64 / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3577, allocations: 4 kB / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.3579, allocations: 96.94 kB / 1.353 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.3579, allocations: 85.05 kB / 1.353 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3579, allocations: 0 / 1.353 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.358, allocations: 0 / 1.353 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.358, allocations: 4 kB / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.358, allocations: 11.98 kB / 1.353 GB, free: 4.254 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.51e-05/0.3581, allocations: 91.28 kB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3581, allocations: 0 / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002358/0.3583, allocations: 27.92 kB / 1.353 GB, free: 4.137 MB / 1.045 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.000524/0.3588, allocations: 0.6321 MB / 1.354 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.3591, allocations: 127.4 kB / 1.354 GB, free: 3.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3591, allocations: 0 / 1.354 GB, free: 3.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.3591, allocations: 15.94 kB / 1.354 GB, free: 3.324 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.3594, allocations: 11.98 kB / 1.354 GB, free: 3.312 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3613, allocations: 1.503 MB / 1.355 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3616, allocations: 0.6885 MB / 1.356 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.3616, allocations: 0 / 1.356 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.3617, allocations: 19.44 kB / 1.356 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of SimCode: time 4e-07/0.3617, allocations: 0 / 1.356 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.389, allocations: 2.381 MB / 1.358 GB, free: 14.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.462, allocations: 1.719 kB / 1.358 GB, free: 14.73 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.411421198165044]