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.002474/0.002474, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002895/0.002895, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.616/1.616, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.876/2.876, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.599e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002069/0.002105, allocations: 0.7262 MB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.003955, allocations: 1.16 MB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.004005, allocations: 1.094 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.004033, allocations: 3.938 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.86e-05/0.004132, allocations: 12.42 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.004625, allocations: 132.3 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.004846, allocations: 128.4 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.004935, allocations: 4 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.005078, allocations: 73.06 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.005178, allocations: 27.95 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.005216, allocations: 12 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.005289, allocations: 24.78 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.005323, allocations: 19.91 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.005387, allocations: 28.8 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.005659, allocations: 151.6 kB / 0.7889 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.005663, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005664, allocations: 1.062 kB / 0.7889 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.005669, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.7448 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.0006409/0.00631, allocations: 426.5 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.006348, allocations: 8.031 kB / 0.7893 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.006415, allocations: 15.62 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.006582, allocations: 120.5 kB / 0.7894 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.006603, allocations: 4.375 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.006629, allocations: 12.36 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.006733, allocations: 46.19 kB / 0.7895 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.006742, allocations: 192 / 0.7895 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.006751, allocations: 384 / 0.7895 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.00676, allocations: 4.375 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.219e-05/0.006812, allocations: 17.45 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.007317, allocations: 323.7 kB / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.621e-05/0.007403, allocations: 39 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.007441, allocations: 16.34 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.007453, allocations: 1.625 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.007593, allocations: 72.97 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.007594, allocations: 4 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002456/0.00784, allocations: 77.58 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.007892, allocations: 56 kB / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.008073, allocations: 193.9 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.008103, allocations: 30.36 kB / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.008209, allocations: 134.9 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.008228, allocations: 12.61 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.008313, allocations: 44.41 kB / 0.7904 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002802/0.008593, allocations: 0.4884 MB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.008726, allocations: 77.67 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.008873, allocations: 106.1 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.009029, allocations: 104.7 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009031, allocations: 1.844 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003761/0.009407, allocations: 217 kB / 0.7914 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.009461, allocations: 41.64 kB / 0.7914 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.009469, allocations: 4 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.009486, allocations: 1.531 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.009548, allocations: 4 kB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.009553, allocations: 0 / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.009722, allocations: 28.41 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.009743, allocations: 4.531 kB / 0.7915 GB, free: 7.332 MB / 0.7448 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.0001404/0.009883, allocations: 170.4 kB / 0.7916 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.009906, allocations: 15.89 kB / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.009941, allocations: 11.98 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.009943, allocations: 0 / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.009947, allocations: 0 / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.00995, allocations: 2.562 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.0101, allocations: 132.6 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.0101, allocations: 0 / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.01012, allocations: 4 kB / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01012, allocations: 0 / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01013, allocations: 7.922 kB / 0.7918 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01013, allocations: 0 / 0.7918 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01013, allocations: 0.5312 kB / 0.7918 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.0103, allocations: 100.4 kB / 0.7919 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01032, allocations: 8.672 kB / 0.7919 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.01034, allocations: 15.86 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.01036, allocations: 0.5312 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.01039, allocations: 1.031 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.0104, allocations: 4 kB / 0.7919 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001047/0.0105, allocations: 143.2 kB / 0.7921 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0105, allocations: 0.6562 kB / 0.7921 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002122/0.01071, allocations: 16 kB / 0.7921 GB, free: 6.648 MB / 0.7448 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.0001838/0.0109, allocations: 113.3 kB / 0.7922 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.01122, allocations: 188.7 kB / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01123, allocations: 1.562 kB / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.01128, allocations: 23.69 kB / 0.7924 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01153, allocations: 25.72 kB / 0.7924 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.01191, allocations: 154 kB / 0.7926 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.548e-05/0.01199, allocations: 71.5 kB / 0.7926 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.01201, allocations: 4 kB / 0.7926 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.01203, allocations: 12.44 kB / 0.7927 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01204, allocations: 6.25 kB / 0.7927 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.005113/0.01715, allocations: 1.49 MB / 0.7941 GB, free: 4.555 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/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: 8.025723314029165]