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.0007969/0.0007969, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008072/0.0008072, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8972/0.8972, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.9505 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/2.041e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001347/0.001367, allocations: 0.713 MB / 0.9512 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.00257, allocations: 1.151 MB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.002618, allocations: 0 / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.002649, allocations: 3.938 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.00273, allocations: 11.86 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.003167, allocations: 131 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.00333, allocations: 123.8 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.00342, allocations: 15.98 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.003507, allocations: 63.89 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.003593, allocations: 35.89 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.003614, allocations: 12 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.003673, allocations: 27.97 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.003692, allocations: 8 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.003738, allocations: 31.92 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.003907, allocations: 155.6 kB / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00391, allocations: 0 / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003911, allocations: 0 / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.003915, allocations: 0 / 0.953 GB, free: 0.9453 MB / 0.9011 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.0003989/0.004314, allocations: 343.6 kB / 0.9533 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.004352, allocations: 8.031 kB / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.352e-05/0.004376, allocations: 30.75 kB / 0.9533 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.004409, allocations: 8.938 kB / 0.9533 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.888e-05/0.004498, allocations: 125.7 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.004511, allocations: 4.375 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.004526, allocations: 4.375 kB / 0.9535 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.617e-05/0.004602, allocations: 46.25 kB / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.004608, allocations: 192 / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.004616, allocations: 384 / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.004621, allocations: 4.125 kB / 0.9535 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.004657, allocations: 16 kB / 0.9535 GB, free: 296 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.004984, allocations: 279.9 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/0.005046, allocations: 30.56 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.005065, allocations: 12.92 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.005076, allocations: 7.938 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.005213, allocations: 63.33 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005214, allocations: 0 / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001786/0.005392, allocations: 69.69 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.005424, allocations: 55.39 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.005505, allocations: 137.7 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.005524, allocations: 25.7 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.00557, allocations: 92.12 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.005584, allocations: 15.94 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.005631, allocations: 29.7 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.005709, allocations: 310.8 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.005789, allocations: 77.67 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.005862, allocations: 88.2 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.005948, allocations: 92.27 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.00595, allocations: 4 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002031/0.006153, allocations: 200.9 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.006188, allocations: 37.7 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.006193, allocations: 0 / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.006206, allocations: 4 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.00626, allocations: 3.938 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.006268, allocations: 7.984 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.006388, allocations: 23.97 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.0064, allocations: 8.062 kB / 0.9551 GB, free: 14.46 MB / 0.9167 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 6.408e-05/0.006464, allocations: 117.8 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.006474, allocations: 11.89 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.006498, allocations: 11.98 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.006502, allocations: 4 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.006506, allocations: 0 / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.006509, allocations: 0 / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.188e-05/0.006591, allocations: 136.7 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.006594, allocations: 7.938 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-06/0.006603, allocations: 240 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006605, allocations: 7.984 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.00661, allocations: 0 / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.006612, allocations: 4 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006614, allocations: 0 / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.88e-05/0.006702, allocations: 97 kB / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.006712, allocations: 4 kB / 0.9555 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.006724, allocations: 7.984 kB / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.006737, allocations: 3.938 kB / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.006758, allocations: 4 kB / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.006763, allocations: 0 / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.006805, allocations: 99.27 kB / 0.9556 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006805, allocations: 4 kB / 0.9556 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001499/0.006955, allocations: 19.95 kB / 0.9556 GB, free: 13.86 MB / 0.9167 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.0002984/0.007253, allocations: 0.628 MB / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.007424, allocations: 153.1 kB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.007426, allocations: 0 / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.007449, allocations: 15.94 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.007618, allocations: 20.88 kB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.008744, allocations: 1.629 MB / 0.958 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.008785, allocations: 63.34 kB / 0.9581 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.008811, allocations: 7.984 kB / 0.9581 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.008844, allocations: 20.5 kB / 0.9581 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.008845, allocations: 0 / 0.9581 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.0256, allocations: 3.158 MB / 0.9612 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.007, allocations: 2.641 kB / 0.9612 GB, free: 8.148 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.989684814587235]