Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008671/0.0008671, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008582/0.0008582, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.8975/0.8975, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.716/1.716, allocations: 377.9 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.742e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001614/0.001641, allocations: 0.9245 MB / 0.9831 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.002949, allocations: 1.474 MB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.003011, allocations: 0 / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.003051, allocations: 19.73 kB / 0.9846 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.003166, allocations: 63.5 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.003822, allocations: 441.4 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.004164, allocations: 499 kB / 0.9855 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.004275, allocations: 37.88 kB / 0.9856 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.004476, allocations: 263.6 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.004629, allocations: 131.7 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.004676, allocations: 48 kB / 0.986 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.888e-05/0.004755, allocations: 67.94 kB / 0.986 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.004792, allocations: 39.83 kB / 0.9861 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.004894, allocations: 135.8 kB / 0.9862 GB, free: 13.99 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.005288, allocations: 0.5572 MB / 0.9868 GB, free: 13.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00529, allocations: 0 / 0.9868 GB, free: 13.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.01e-07/0.00529, allocations: 0 / 0.9868 GB, free: 13.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.005295, allocations: 4 kB / 0.9868 GB, free: 13.43 MB / 0.948 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.0005619/0.005857, allocations: 0.5624 MB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.005891, allocations: 8.031 kB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.005965, allocations: 32.8 kB / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.006093, allocations: 168.9 kB / 0.9875 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.006115, allocations: 16.38 kB / 0.9875 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.006148, allocations: 20.38 kB / 0.9875 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.006286, allocations: 124.4 kB / 0.9877 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.006296, allocations: 4.125 kB / 0.9877 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.006306, allocations: 4.375 kB / 0.9877 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.006311, allocations: 8.297 kB / 0.9877 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.006389, allocations: 55.92 kB / 0.9877 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.006974, allocations: 0.7155 MB / 0.9884 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.007087, allocations: 126.4 kB / 0.9886 GB, free: 11.42 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.007133, allocations: 43.44 kB / 0.9886 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.007143, allocations: 4 kB / 0.9886 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.007323, allocations: 182.5 kB / 0.9888 GB, free: 11.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.007325, allocations: 0 / 0.9888 GB, free: 11.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0003132/0.007638, allocations: 230 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.007692, allocations: 136.5 kB / 0.9891 GB, free: 10.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.00786, allocations: 233.7 kB / 0.9893 GB, free: 10.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004393/0.008299, allocations: 45.69 kB / 0.9894 GB, free: 10.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.008379, allocations: 132.5 kB / 0.9895 GB, free: 10.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.008402, allocations: 31.73 kB / 0.9895 GB, free: 10.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.008503, allocations: 97.64 kB / 0.9896 GB, free: 10.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.008583, allocations: 330.8 kB / 0.99 GB, free: 9.879 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.008821, allocations: 271 kB / 0.9902 GB, free: 9.586 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.009077, allocations: 353.4 kB / 0.9905 GB, free: 9.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.009356, allocations: 376.9 kB / 0.9909 GB, free: 8.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009358, allocations: 0 / 0.9909 GB, free: 8.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006042/0.009963, allocations: 0.6826 MB / 0.9916 GB, free: 8.012 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.01002, allocations: 138.7 kB / 0.9917 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01003, allocations: 256 / 0.9917 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01004, allocations: 8 kB / 0.9917 GB, free: 7.844 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.0101, allocations: 19.98 kB / 0.9917 GB, free: 7.824 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01011, allocations: 7.938 kB / 0.9917 GB, free: 7.816 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.01042, allocations: 111.7 kB / 0.9918 GB, free: 7.707 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.01045, allocations: 27.98 kB / 0.9919 GB, free: 7.68 MB / 0.948 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 9.9e-05/0.01055, allocations: 154.4 kB / 0.992 GB, free: 7.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.01057, allocations: 15.91 kB / 0.992 GB, free: 7.504 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.0106, allocations: 25.33 kB / 0.9921 GB, free: 7.477 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.0106, allocations: 0 / 0.9921 GB, free: 7.477 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.0106, allocations: 4 kB / 0.9921 GB, free: 7.473 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01061, allocations: 3.938 kB / 0.9921 GB, free: 7.469 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.01073, allocations: 185.1 kB / 0.9922 GB, free: 7.258 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01073, allocations: 8 kB / 0.9923 GB, free: 7.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.01075, allocations: 12 kB / 0.9923 GB, free: 7.238 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01075, allocations: 0 / 0.9923 GB, free: 7.238 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01076, allocations: 4 kB / 0.9923 GB, free: 7.234 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01076, allocations: 11.92 kB / 0.9923 GB, free: 7.223 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01076, allocations: 0 / 0.9923 GB, free: 7.223 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.01096, allocations: 215.4 kB / 0.9925 GB, free: 6.984 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.01098, allocations: 27.78 kB / 0.9925 GB, free: 6.957 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.011, allocations: 8 kB / 0.9925 GB, free: 6.949 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.01103, allocations: 0 / 0.9925 GB, free: 6.949 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.01106, allocations: 19.97 kB / 0.9925 GB, free: 6.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01107, allocations: 12 kB / 0.9925 GB, free: 6.918 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.685e-05/0.01117, allocations: 169.2 kB / 0.9927 GB, free: 6.754 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01117, allocations: 0 / 0.9927 GB, free: 6.754 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002092/0.01138, allocations: 71.89 kB / 0.9928 GB, free: 6.684 MB / 0.948 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.0001128/0.01149, allocations: 111.2 kB / 0.9929 GB, free: 6.562 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.01197, allocations: 0.5982 MB / 0.9935 GB, free: 5.891 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01197, allocations: 4.062 kB / 0.9935 GB, free: 5.887 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.01206, allocations: 83.89 kB / 0.9936 GB, free: 5.805 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01232, allocations: 62.44 kB / 0.9936 GB, free: 5.746 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.01273, allocations: 375.8 kB / 0.994 GB, free: 5.336 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.052e-05/0.0128, allocations: 116.9 kB / 0.9941 GB, free: 5.199 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.01284, allocations: 24.5 kB / 0.9941 GB, free: 5.176 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.01284, allocations: 4 kB / 0.9941 GB, free: 5.172 MB / 0.948 GB Notification: Performance of Templates: time 0.003818/0.01665, allocations: 3.552 MB / 0.9976 GB, free: 1.66 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.9173489566892385]