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.000984/0.000984, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001001/0.001001, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9647/0.9647, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.779/1.779, allocations: 359 MB / 0.6055 GB, free: 10.89 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 2.635e-06/2.635e-06, allocations: 3.984 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.847e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001185/0.001204, allocations: 0.7284 MB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.002327, allocations: 1.183 MB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.002372, allocations: 1.406 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.002397, allocations: 3.938 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.002475, allocations: 15.92 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.002844, allocations: 132.8 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.002982, allocations: 123.8 kB / 0.7897 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.003058, allocations: 13.23 kB / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.003145, allocations: 59.91 kB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.003229, allocations: 35.94 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.003249, allocations: 12 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.439e-05/0.003314, allocations: 29.17 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.003332, allocations: 4 kB / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.003371, allocations: 43.89 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003497, allocations: 97.39 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003499, allocations: 0 / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/0.0035, allocations: 0 / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.003503, allocations: 0 / 0.79 GB, free: 9.664 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.0003625/0.003866, allocations: 427 kB / 0.7904 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.003901, allocations: 8.031 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.003937, allocations: 12.92 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.004011, allocations: 113.6 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.004025, allocations: 4.375 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.004037, allocations: 4.375 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.004103, allocations: 56.48 kB / 0.7906 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.00411, allocations: 4.188 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.004116, allocations: 384 / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004121, allocations: 384 / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.004139, allocations: 13.39 kB / 0.7906 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.004394, allocations: 284.4 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/0.004436, allocations: 38.98 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.114e-05/0.004447, allocations: 10.47 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.004453, allocations: 4.062 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.693e-05/0.00452, allocations: 61.05 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.004521, allocations: 0 / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001246/0.004645, allocations: 69.52 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.004671, allocations: 51.41 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.004748, allocations: 181.9 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.004765, allocations: 30.42 kB / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.004818, allocations: 142.8 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.004829, allocations: 9.609 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.004872, allocations: 39.34 kB / 0.7915 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.004983, allocations: 492.1 kB / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.005032, allocations: 57.67 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.005088, allocations: 80.73 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.005147, allocations: 85.97 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.005149, allocations: 1.75 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001558/0.005305, allocations: 177 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.005331, allocations: 43.67 kB / 0.7924 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.005336, allocations: 3.938 kB / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.005347, allocations: 5.188 kB / 0.7924 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.64e-05/0.005383, allocations: 3.984 kB / 0.7924 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.005387, allocations: 4 kB / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.856e-05/0.005476, allocations: 17.73 kB / 0.7924 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.005488, allocations: 4 kB / 0.7924 GB, free: 6.922 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 7.779e-05/0.005566, allocations: 164.5 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.005577, allocations: 14.05 kB / 0.7926 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.005599, allocations: 15.92 kB / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.0056, allocations: 0 / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.005602, allocations: 0 / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005605, allocations: 0 / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.466e-05/0.005679, allocations: 110 kB / 0.7927 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00568, allocations: 0 / 0.7927 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.005688, allocations: 0.5312 kB / 0.7927 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.005691, allocations: 4.719 kB / 0.7927 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-06/0.005694, allocations: 0 / 0.7927 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005695, allocations: 0.5312 kB / 0.7927 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.005697, allocations: 3.938 kB / 0.7927 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.401e-05/0.005771, allocations: 93.72 kB / 0.7928 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.00578, allocations: 7.953 kB / 0.7928 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.005789, allocations: 4 kB / 0.7928 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.005799, allocations: 4.469 kB / 0.7929 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.00582, allocations: 11.92 kB / 0.7929 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.005822, allocations: 1.375 kB / 0.7929 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.005867, allocations: 135.2 kB / 0.793 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005867, allocations: 0 / 0.793 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001364/0.006004, allocations: 20 kB / 0.793 GB, free: 6.289 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 9.636e-05/0.0061, allocations: 108.3 kB / 0.7931 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.006235, allocations: 137.6 kB / 0.7932 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006236, allocations: 4.875 kB / 0.7933 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.006255, allocations: 23.61 kB / 0.7933 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.006395, allocations: 13.33 kB / 0.7933 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.006597, allocations: 150.7 kB / 0.7934 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.896e-05/0.006626, allocations: 63.34 kB / 0.7935 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.006641, allocations: 1.938 kB / 0.7935 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.006717, allocations: 94.17 kB / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.006718, allocations: 0 / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of Templates: time 0.002859/0.009576, allocations: 1.627 MB / 0.7952 GB, free: 4.059 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: 4.854925468098372]