Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.002461/0.002461, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 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.003079/0.003079, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.516/3.516, allocations: 429.4 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.8775 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.423e-05/3.751e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002303/0.002341, allocations: 0.954 MB / 0.8784 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.004562, allocations: 1.458 MB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.004645, allocations: 1.875 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.907e-05/0.004694, allocations: 23.67 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.00488, allocations: 63.56 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.005932, allocations: 425.8 kB / 0.8803 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007418/0.006674, allocations: 495 kB / 0.8808 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.006805, allocations: 36.34 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.007147, allocations: 255.6 kB / 0.8811 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.007426, allocations: 139.6 kB / 0.8812 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.369e-05/0.007519, allocations: 52 kB / 0.8812 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.007649, allocations: 56 kB / 0.8813 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.007702, allocations: 43.83 kB / 0.8813 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.007894, allocations: 139.7 kB / 0.8815 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007058/0.0086, allocations: 0.5592 MB / 0.882 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.008604, allocations: 0 / 0.882 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.008605, allocations: 0 / 0.882 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.008611, allocations: 0 / 0.882 GB, free: 2.016 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001015/0.009626, allocations: 0.6776 MB / 0.8827 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.009669, allocations: 12.03 kB / 0.8827 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.009808, allocations: 44.78 kB / 0.8827 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.01003, allocations: 159.8 kB / 0.8829 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.01006, allocations: 16.38 kB / 0.8829 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.01014, allocations: 24.38 kB / 0.8829 GB, free: 1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.01038, allocations: 140.8 kB / 0.8831 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.0104, allocations: 4.172 kB / 0.8831 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.01042, allocations: 8.375 kB / 0.8831 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01042, allocations: 4.312 kB / 0.8831 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.01056, allocations: 59.86 kB / 0.8831 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01174, allocations: 0.9415 MB / 0.884 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.01197, allocations: 152.3 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.01208, allocations: 62.73 kB / 0.8843 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.0121, allocations: 4 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/0.0124, allocations: 195.6 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.0124, allocations: 0 / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005433/0.01294, allocations: 241.4 kB / 0.8847 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.01306, allocations: 140.5 kB / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.01342, allocations: 340.3 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.01348, allocations: 37.7 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.01365, allocations: 183.3 kB / 0.8853 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.01369, allocations: 43.72 kB / 0.8854 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.0139, allocations: 107.3 kB / 0.8855 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000298/0.0142, allocations: 0.5157 MB / 0.886 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.01466, allocations: 299 kB / 0.8863 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.01522, allocations: 428.5 kB / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.0158, allocations: 426.8 kB / 0.8871 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.01581, allocations: 4 kB / 0.8871 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00139/0.0172, allocations: 0.7606 MB / 0.8878 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.01732, allocations: 134.8 kB / 0.888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01733, allocations: 0 / 0.888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.01735, allocations: 7.938 kB / 0.888 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.01744, allocations: 15.98 kB / 0.888 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.01745, allocations: 7.938 kB / 0.888 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.01799, allocations: 83.81 kB / 0.8881 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.01805, allocations: 24.02 kB / 0.8881 GB, free: 11.18 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000206/0.01826, allocations: 201.4 kB / 0.8883 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.01831, allocations: 27.8 kB / 0.8883 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.01836, allocations: 26.27 kB / 0.8883 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01836, allocations: 0 / 0.8883 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.01837, allocations: 4 kB / 0.8883 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01838, allocations: 0 / 0.8883 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.01866, allocations: 220.5 kB / 0.8886 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01866, allocations: 4 kB / 0.8886 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.0187, allocations: 8 kB / 0.8886 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01871, allocations: 0 / 0.8886 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.01873, allocations: 11.98 kB / 0.8886 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.01873, allocations: 4 kB / 0.8886 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01874, allocations: 0 / 0.8886 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.01914, allocations: 259.1 kB / 0.8888 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.01918, allocations: 15.86 kB / 0.8888 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.01922, allocations: 15.98 kB / 0.8889 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.74e-05/0.01926, allocations: 0 / 0.8889 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.01932, allocations: 15.98 kB / 0.8889 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.01934, allocations: 11.98 kB / 0.8889 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002283/0.01957, allocations: 229.1 kB / 0.8891 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01957, allocations: 0 / 0.8891 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003404/0.01991, allocations: 67.94 kB / 0.8892 GB, free: 10.01 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002183/0.02013, allocations: 112.1 kB / 0.8893 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009879/0.02112, allocations: 0.6955 MB / 0.89 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02112, allocations: 8.188 kB / 0.89 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.02125, allocations: 74.83 kB / 0.89 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.0217, allocations: 72.3 kB / 0.8901 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.02239, allocations: 374.1 kB / 0.8905 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.02251, allocations: 116.9 kB / 0.8906 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.179e-05/0.02257, allocations: 25.64 kB / 0.8906 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.02262, allocations: 20.48 kB / 0.8906 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.02262, allocations: 0 / 0.8906 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of Templates: time 0.01036/0.03298, allocations: 5.084 MB / 0.8956 GB, free: 3.402 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.744354691007175]