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.0009585/0.0009585, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.0009991/0.0009991, allocations: 161 kB / 23.82 MB, free: 0.7695 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.9373/0.9373, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.788/1.788, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] 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 3.166e-06/3.166e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.402e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001652/0.001686, allocations: 0.7319 MB / 0.7879 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.003124, allocations: 1.181 MB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.003177, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.00321, allocations: 7.938 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.003311, allocations: 20.91 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.003857, allocations: 131.6 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.004031, allocations: 120.7 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.004127, allocations: 11.97 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.004221, allocations: 65.31 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.004311, allocations: 31.89 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.004335, allocations: 16 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.036e-05/0.004395, allocations: 27.97 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.004419, allocations: 5.062 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.004479, allocations: 39.91 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.004663, allocations: 95.7 kB / 0.7896 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.004669, allocations: 1.562 kB / 0.7896 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.804e-06/0.00467, allocations: 0 / 0.7896 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.004676, allocations: 0 / 0.7896 GB, free: 9.977 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.000539/0.005215, allocations: 418.1 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.005266, allocations: 14.28 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.005342, allocations: 8.938 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.005471, allocations: 124.5 kB / 0.7901 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.005497, allocations: 384 / 0.7901 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.005518, allocations: 8.375 kB / 0.7901 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.005626, allocations: 50.95 kB / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005634, allocations: 0.75 kB / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.005645, allocations: 4.312 kB / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.005654, allocations: 2 kB / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.005686, allocations: 15.92 kB / 0.7902 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.006085, allocations: 303.8 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.006147, allocations: 31.92 kB / 0.7905 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.006169, allocations: 11.75 kB / 0.7905 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.006177, allocations: 4.594 kB / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.006285, allocations: 72.98 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.006286, allocations: 1.375 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.006481, allocations: 73.61 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.006518, allocations: 51.41 kB / 0.7907 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.006615, allocations: 183.8 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.006635, allocations: 37.64 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.006692, allocations: 138.8 kB / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.006705, allocations: 7.953 kB / 0.7911 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.006754, allocations: 35.36 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.006874, allocations: 0.4884 MB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.006949, allocations: 58.41 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.007026, allocations: 85.27 kB / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.007128, allocations: 94.34 kB / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.00713, allocations: 0 / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002121/0.007342, allocations: 177 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.007389, allocations: 46.28 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.007396, allocations: 1.25 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.007412, allocations: 0 / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.007478, allocations: 4 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.007484, allocations: 0 / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.007611, allocations: 21.14 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.007626, allocations: 7.984 kB / 0.792 GB, free: 7.172 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 9.964e-05/0.007726, allocations: 162 kB / 0.7922 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.007741, allocations: 11.89 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.00777, allocations: 4 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.007773, allocations: 1.75 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.007777, allocations: 4 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.007782, allocations: 0 / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.007883, allocations: 132.6 kB / 0.7923 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.007884, allocations: 0.75 kB / 0.7923 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.0079, allocations: 3.938 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007902, allocations: 4.875 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.007911, allocations: 3.938 kB / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.007915, allocations: 4.062 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007916, allocations: 1.562 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.008033, allocations: 100.4 kB / 0.7925 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.008045, allocations: 3.953 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.00806, allocations: 3.938 kB / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.008078, allocations: 5.094 kB / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.008114, allocations: 3.984 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.008119, allocations: 0 / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.008179, allocations: 146.4 kB / 0.7926 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008179, allocations: 0 / 0.7926 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001682/0.008347, allocations: 20 kB / 0.7926 GB, free: 6.508 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.0001588/0.008506, allocations: 107.1 kB / 0.7927 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.008714, allocations: 144.8 kB / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.008716, allocations: 0 / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.008745, allocations: 24.11 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.008945, allocations: 17.88 kB / 0.7929 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.009277, allocations: 150 kB / 0.7931 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.009313, allocations: 63.81 kB / 0.7931 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.009336, allocations: 4 kB / 0.7931 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.009358, allocations: 12.5 kB / 0.7931 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.009358, allocations: 0 / 0.7931 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.003846/0.0132, allocations: 1.617 MB / 0.7947 GB, free: 4.363 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138839860912412]