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.001874/0.001874, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.002344/0.002344, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.994/2.994, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.002051/0.002051, allocations: 75.88 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.886/0.8881, allocations: 176.1 MB / 1.322 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00163/0.8897, allocations: 0.7208 MB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.8908, allocations: 1.182 MB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.8908, allocations: 0 / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.8908, allocations: 3.938 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.8909, allocations: 22.12 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.8913, allocations: 128.3 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.8914, allocations: 126.4 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.8915, allocations: 6.812 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.8916, allocations: 41.17 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.8917, allocations: 51.42 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.8917, allocations: 12.84 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.8917, allocations: 25.52 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.8917, allocations: 6.812 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.8918, allocations: 45.56 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.8919, allocations: 138.5 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.8919, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.892, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.892, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 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.0004024/0.8924, allocations: 397.5 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.8924, allocations: 15.08 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.8924, allocations: 10.97 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.482e-05/0.8925, allocations: 177.8 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8925, allocations: 7.125 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.8926, allocations: 5.938 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.819e-05/0.8926, allocations: 48.58 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.8926, allocations: 192 / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.8927, allocations: 3.938 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.8927, allocations: 0 / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.533e-05/0.8927, allocations: 11.84 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.893, allocations: 327.2 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.8931, allocations: 34.8 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.8931, allocations: 11.42 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.8931, allocations: 3.375 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.8932, allocations: 59.48 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.8932, allocations: 2.625 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000167/0.8934, allocations: 81.64 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.8934, allocations: 58 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.8935, allocations: 134.3 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.8935, allocations: 25.7 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.8935, allocations: 92.84 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.8935, allocations: 13.62 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.8936, allocations: 30.91 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.8936, allocations: 317.5 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/0.8937, allocations: 36.81 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.8938, allocations: 60.91 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/0.8939, allocations: 103.8 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8939, allocations: 0 / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002337/0.8941, allocations: 164.2 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8941, allocations: 38.89 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.8941, allocations: 64 / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.8941, allocations: 4 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.8942, allocations: 6.938 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.8942, allocations: 0 / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.8944, allocations: 27.03 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.8944, allocations: 6.875 kB / 1.327 GB, free: 21.32 MB / 1.061 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 5.976e-05/0.8945, allocations: 125.9 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.8945, allocations: 5.734 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.8945, allocations: 14.22 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8945, allocations: 0 / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.8945, allocations: 3.344 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8945, allocations: 0 / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.651e-05/0.8946, allocations: 173 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8946, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.8946, allocations: 2.844 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8946, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.8946, allocations: 3.562 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8946, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8946, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.07e-05/0.8947, allocations: 95.23 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.8947, allocations: 87.55 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.8947, allocations: 0 / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.8947, allocations: 4 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.8948, allocations: 2.844 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.8948, allocations: 2.812 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.8948, allocations: 102.5 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8948, allocations: 7.938 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002173/0.895, allocations: 18.31 kB / 1.327 GB, free: 20.68 MB / 1.061 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.0001317/0.8952, allocations: 99.41 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.8953, allocations: 126.7 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8954, allocations: 0 / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.8954, allocations: 12.16 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.8956, allocations: 31 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.8959, allocations: 171.9 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.896, allocations: 0.6866 MB / 1.328 GB, free: 19.63 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.896, allocations: 10.41 kB / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.896, allocations: 0 / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of Templates: time 0.002863/0.8989, allocations: 1.152 MB / 1.329 GB, free: 19.52 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.562417524008197]