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.001432/0.001432, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001614/0.001614, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.818/2.818, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.204e-06/2.204e-06, allocations: 0 / 0.7864 GB, free: 11.65 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.341e-05, allocations: 5.125 kB / 0.7864 GB, free: 11.65 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002356/0.002389, allocations: 0.9223 MB / 0.7873 GB, free: 10.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.004837, allocations: 1.465 MB / 0.7887 GB, free: 9.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.004957, allocations: 0 / 0.7887 GB, free: 9.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.005019, allocations: 15.75 kB / 0.7887 GB, free: 9.254 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.005248, allocations: 65.34 kB / 0.7888 GB, free: 9.191 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.006414, allocations: 427.9 kB / 0.7892 GB, free: 8.773 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000739/0.007153, allocations: 0.4892 MB / 0.7897 GB, free: 8.285 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.007297, allocations: 33.94 kB / 0.7897 GB, free: 8.254 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.007774, allocations: 259.6 kB / 0.79 GB, free: 8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.008068, allocations: 127.7 kB / 0.7901 GB, free: 7.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.008202, allocations: 57 kB / 0.7901 GB, free: 7.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.008355, allocations: 75.84 kB / 0.7902 GB, free: 7.746 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.008407, allocations: 33.27 kB / 0.7902 GB, free: 7.715 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.00861, allocations: 135.8 kB / 0.7904 GB, free: 7.582 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007494/0.00936, allocations: 0.5572 MB / 0.7909 GB, free: 7.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.009368, allocations: 4 kB / 0.7909 GB, free: 7.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.009369, allocations: 1.625 kB / 0.7909 GB, free: 7.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.009381, allocations: 0 / 0.7909 GB, free: 7.02 MB / 0.698 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.001218/0.0106, allocations: 0.5585 MB / 0.7915 GB, free: 6.402 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.01064, allocations: 12.02 kB / 0.7915 GB, free: 6.391 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.01079, allocations: 39.42 kB / 0.7915 GB, free: 6.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.01103, allocations: 164.9 kB / 0.7917 GB, free: 6.168 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.01107, allocations: 16.38 kB / 0.7917 GB, free: 6.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.01114, allocations: 24.36 kB / 0.7917 GB, free: 6.129 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.01138, allocations: 121.6 kB / 0.7918 GB, free: 5.992 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01139, allocations: 192 / 0.7918 GB, free: 5.992 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.0114, allocations: 384 / 0.7918 GB, free: 5.992 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.01141, allocations: 4.375 kB / 0.7918 GB, free: 5.988 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.01155, allocations: 60.53 kB / 0.7919 GB, free: 5.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.01264, allocations: 0.7171 MB / 0.7926 GB, free: 5.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.01285, allocations: 120.1 kB / 0.7927 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.253e-05/0.01294, allocations: 51.48 kB / 0.7928 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.01295, allocations: 0 / 0.7928 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/0.01335, allocations: 184 kB / 0.7929 GB, free: 4.754 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 5.77e-06/0.01336, allocations: 4.484 kB / 0.7929 GB, free: 4.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005867/0.01395, allocations: 242.4 kB / 0.7932 GB, free: 4.508 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.01406, allocations: 136.5 kB / 0.7933 GB, free: 4.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.01437, allocations: 241.7 kB / 0.7935 GB, free: 4.102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.01444, allocations: 43.23 kB / 0.7936 GB, free: 4.055 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.01458, allocations: 128.6 kB / 0.7937 GB, free: 3.926 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.01463, allocations: 31.8 kB / 0.7937 GB, free: 3.895 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.01483, allocations: 89.66 kB / 0.7938 GB, free: 3.801 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.01503, allocations: 336.8 kB / 0.7941 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.01549, allocations: 275 kB / 0.7944 GB, free: 3.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.01599, allocations: 349.5 kB / 0.7947 GB, free: 2.766 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.01654, allocations: 370.6 kB / 0.7951 GB, free: 2.344 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.01654, allocations: 0.5312 kB / 0.7951 GB, free: 2.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001231/0.01777, allocations: 0.7156 MB / 0.7958 GB, free: 1.574 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.01791, allocations: 136.2 kB / 0.7959 GB, free: 1.418 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.01793, allocations: 4 kB / 0.7959 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.01795, allocations: 4 kB / 0.7959 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.01805, allocations: 11.94 kB / 0.7959 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.01806, allocations: 9.141 kB / 0.7959 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.01874, allocations: 118 kB / 0.796 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.01881, allocations: 23.98 kB / 0.7961 GB, free: 1.254 MB / 0.698 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.0001987/0.019, allocations: 155.8 kB / 0.7962 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.01906, allocations: 27.89 kB / 0.7962 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.01911, allocations: 17.34 kB / 0.7963 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.01912, allocations: 4.562 kB / 0.7963 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.01913, allocations: 4.609 kB / 0.7963 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01913, allocations: 0 / 0.7963 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.01938, allocations: 187 kB / 0.7965 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.01939, allocations: 3.984 kB / 0.7965 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.01943, allocations: 15.88 kB / 0.7965 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.01944, allocations: 4 kB / 0.7965 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.01945, allocations: 4 kB / 0.7965 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01946, allocations: 4.875 kB / 0.7965 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01946, allocations: 0 / 0.7965 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.01983, allocations: 231.8 kB / 0.7967 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.01987, allocations: 23.84 kB / 0.7967 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.0199, allocations: 4 kB / 0.7967 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.01996, allocations: 4 kB / 0.7967 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.02001, allocations: 15.97 kB / 0.7967 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.02003, allocations: 12 kB / 0.7968 GB, free: 492 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001819/0.02021, allocations: 165.2 kB / 0.7969 GB, free: 324 kB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.02021, allocations: 0 / 0.7969 GB, free: 324 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003682/0.02058, allocations: 67.95 kB / 0.797 GB, free: 256 kB / 0.698 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.000211/0.02079, allocations: 113.6 kB / 0.7971 GB, free: 132 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.02187, allocations: 0.6104 MB / 0.7977 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02187, allocations: 4 kB / 0.7977 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.02199, allocations: 60.48 kB / 0.7977 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.02247, allocations: 75.78 kB / 0.7978 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.0232, allocations: 342.9 kB / 0.7981 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.02334, allocations: 121.7 kB / 0.7983 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.387e-05/0.02341, allocations: 18.77 kB / 0.7983 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.02346, allocations: 25.53 kB / 0.7983 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.02346, allocations: 0 / 0.7983 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.01109/0.03455, allocations: 5.059 MB / 0.8032 GB, free: 9.852 MB / 0.7136 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] 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.05198465299327]