Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002035/0.002035, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.002614/0.002614, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.626/1.626, allocations: 230.5 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.45/3.45, allocations: 0.4899 GB / 0.7915 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [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.002158/0.002158, allocations: 72.53 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4527, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002067/0.4548, allocations: 0.7232 MB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.4565, allocations: 1.175 MB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.4565, allocations: 0 / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.4566, allocations: 7.938 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.64e-05/0.4567, allocations: 7.922 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.4572, allocations: 129 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.4574, allocations: 123.8 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.4575, allocations: 7.984 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.4576, allocations: 51.84 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.4577, allocations: 43.83 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.4577, allocations: 16 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.446e-05/0.4578, allocations: 27.98 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.4578, allocations: 8 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.885e-05/0.4579, allocations: 47.83 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.4581, allocations: 135.6 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4581, allocations: 0 / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4581, allocations: 0 / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4581, allocations: 3.938 kB / 1.324 GB, free: 300 kB / 1.014 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.0006156/0.4587, allocations: 392.9 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4588, allocations: 11.98 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.4588, allocations: 20.88 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.459, allocations: 176.3 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.459, allocations: 8.375 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.459, allocations: 8.359 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4591, allocations: 42.25 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4592, allocations: 192 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4592, allocations: 11.88 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4592, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.4592, allocations: 19.92 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.4597, allocations: 328.8 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.472e-05/0.4598, allocations: 30.52 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.4598, allocations: 8.922 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.4598, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.46, allocations: 71.31 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.46, allocations: 4 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.4602, allocations: 73.64 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4603, allocations: 55.41 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4604, allocations: 125.8 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.4604, allocations: 29.7 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.4605, allocations: 92.08 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.4605, allocations: 7.953 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.13e-05/0.4606, allocations: 29.7 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4608, allocations: 322.8 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.4609, allocations: 43.92 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.985e-05/0.461, allocations: 50.56 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.4611, allocations: 92.2 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4611, allocations: 3.938 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003092/0.4614, allocations: 171.2 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.4615, allocations: 41.69 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4615, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4615, allocations: 3.938 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.4615, allocations: 4 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4615, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.4618, allocations: 23.97 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.4618, allocations: 7.984 kB / 1.326 GB, free: 13.76 MB / 1.029 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.0001648/0.462, allocations: 125.8 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.462, allocations: 3.953 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.462, allocations: 11.91 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.462, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.462, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4621, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.4622, allocations: 181.6 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4622, allocations: 0 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.4622, allocations: 0 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4622, allocations: 3.938 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.4622, allocations: 8 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4622, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4622, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.4624, allocations: 97.2 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.4624, allocations: 89 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4624, allocations: 0 / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.4625, allocations: 0 / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.4625, allocations: 7.984 kB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.4625, allocations: 8 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.182e-05/0.4626, allocations: 95.27 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4626, allocations: 0 / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002181/0.4628, allocations: 16 kB / 1.327 GB, free: 13.02 MB / 1.029 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.0002266/0.463, allocations: 103.2 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.4633, allocations: 131.2 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4633, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.4633, allocations: 16.12 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.4636, allocations: 15.92 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.464, allocations: 149.9 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.4643, allocations: 0.6884 MB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.4643, allocations: 0 / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.4644, allocations: 11.44 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4644, allocations: 4 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of Templates: time 0.004424/0.4688, allocations: 1.352 MB / 1.329 GB, free: 10.5 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.745563206728548]