Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002398/0.002398, allocations: 87.69 kB / 20.23 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.00274/0.00274, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.594/1.594, 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.919/2.919, 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.294e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002311/0.002344, allocations: 0.9478 MB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.004514, allocations: 1.465 MB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.004584, allocations: 1.531 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.004634, allocations: 19.73 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.004809, allocations: 59.58 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.005827, allocations: 427.3 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.006433, allocations: 499 kB / 0.7897 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.006557, allocations: 33.88 kB / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.006901, allocations: 259.6 kB / 0.79 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.007159, allocations: 139.5 kB / 0.7901 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.007259, allocations: 53.75 kB / 0.7902 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.007408, allocations: 63.94 kB / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.00746, allocations: 39.83 kB / 0.7903 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.00765, allocations: 131.8 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.008327, allocations: 0.5572 MB / 0.7909 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.008331, allocations: 0.5938 kB / 0.7909 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.008333, allocations: 0 / 0.7909 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.008339, allocations: 1.219 kB / 0.7909 GB, free: 8.121 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001115/0.009453, allocations: 0.6738 MB / 0.7916 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.009491, allocations: 8.031 kB / 0.7916 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.009618, allocations: 41.28 kB / 0.7917 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.009831, allocations: 168.4 kB / 0.7918 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.009866, allocations: 16.38 kB / 0.7918 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.009919, allocations: 17.16 kB / 0.7918 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.01016, allocations: 143.8 kB / 0.792 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.01017, allocations: 1.344 kB / 0.792 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.01019, allocations: 12.36 kB / 0.792 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.01019, allocations: 384 / 0.792 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.01034, allocations: 57.23 kB / 0.7921 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01152, allocations: 0.9376 MB / 0.793 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.01174, allocations: 158 kB / 0.7931 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.01184, allocations: 62.8 kB / 0.7932 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.01186, allocations: 9.297 kB / 0.7932 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.01217, allocations: 199.5 kB / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.01217, allocations: 0 / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005575/0.01273, allocations: 237.9 kB / 0.7936 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.01284, allocations: 144.4 kB / 0.7937 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.01321, allocations: 334.2 kB / 0.7941 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.01327, allocations: 41.69 kB / 0.7941 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.01345, allocations: 183.3 kB / 0.7943 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.0135, allocations: 39.73 kB / 0.7943 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.01371, allocations: 107.3 kB / 0.7944 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003227/0.01403, allocations: 0.5182 MB / 0.7949 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.0145, allocations: 303 kB / 0.7952 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.01506, allocations: 428.1 kB / 0.7956 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.01564, allocations: 428.5 kB / 0.796 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01564, allocations: 0 / 0.796 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001219/0.01686, allocations: 0.7513 MB / 0.7968 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.01699, allocations: 138.8 kB / 0.7969 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01699, allocations: 0 / 0.7969 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.01701, allocations: 4.781 kB / 0.7969 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.0171, allocations: 19.92 kB / 0.7969 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.01712, allocations: 5.281 kB / 0.7969 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.01764, allocations: 89.83 kB / 0.797 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.0177, allocations: 23.98 kB / 0.797 GB, free: 1.312 MB / 0.7448 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.0002114/0.01792, allocations: 205.8 kB / 0.7972 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.01796, allocations: 23.91 kB / 0.7972 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.01802, allocations: 27.08 kB / 0.7973 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01802, allocations: 3.938 kB / 0.7973 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.01803, allocations: 4 kB / 0.7973 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01803, allocations: 0 / 0.7973 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.01832, allocations: 220.4 kB / 0.7975 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.01832, allocations: 6.594 kB / 0.7975 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.01837, allocations: 15.94 kB / 0.7975 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01837, allocations: 0 / 0.7975 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01839, allocations: 7.984 kB / 0.7975 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01839, allocations: 0 / 0.7975 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01839, allocations: 4 kB / 0.7975 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.01876, allocations: 256.1 kB / 0.7978 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.0188, allocations: 16.41 kB / 0.7978 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.01883, allocations: 5.406 kB / 0.7978 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.01888, allocations: 7.984 kB / 0.7978 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.01893, allocations: 11.98 kB / 0.7978 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.01895, allocations: 11.98 kB / 0.7978 GB, free: 436 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002235/0.01917, allocations: 227.1 kB / 0.798 GB, free: 212 kB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01917, allocations: 0 / 0.798 GB, free: 212 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003268/0.0195, allocations: 71.89 kB / 0.7981 GB, free: 140 kB / 0.7448 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.0001789/0.01968, allocations: 108.4 kB / 0.7982 GB, free: 24 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.02079, allocations: 0.7118 MB / 0.7989 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.0208, allocations: 0 / 0.7989 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.02093, allocations: 76.25 kB / 0.799 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.02141, allocations: 74.03 kB / 0.799 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.02213, allocations: 366.1 kB / 0.7994 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.02226, allocations: 119.8 kB / 0.7995 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.02232, allocations: 18.73 kB / 0.7995 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.02236, allocations: 21.55 kB / 0.7995 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.02236, allocations: 0 / 0.7995 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.01059/0.03295, allocations: 5.071 MB / 0.8045 GB, free: 9.578 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.218968856032006]