Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001392/0.001392, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001509/0.001509, allocations: 169 kB / 23.82 MB, free: 0.7461 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.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.984/1.984, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.846e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001523/0.001551, allocations: 0.7343 MB / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002793, allocations: 1.178 MB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.002839, allocations: 4 kB / 0.8135 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.002873, allocations: 4.844 kB / 0.8135 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.00296, allocations: 15.86 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.003399, allocations: 128.3 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.003563, allocations: 132.6 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.003659, allocations: 8 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.807e-05/0.003757, allocations: 65.14 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.003849, allocations: 47.75 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.003872, allocations: 12 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.003931, allocations: 21.7 kB / 0.8139 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.003953, allocations: 11.94 kB / 0.8139 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.004004, allocations: 31.98 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.004162, allocations: 95.75 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004165, allocations: 0 / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.153e-06/0.004166, allocations: 1.25 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.004172, allocations: 4 kB / 0.814 GB, free: 15.24 MB / 0.7761 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.0004343/0.004606, allocations: 418.1 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.004649, allocations: 13.84 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.004702, allocations: 12.89 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.004802, allocations: 120.5 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.004824, allocations: 384 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.004842, allocations: 8.375 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.004928, allocations: 52.48 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.004938, allocations: 192 / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.004947, allocations: 384 / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.004956, allocations: 4.375 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.004982, allocations: 8.781 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.005317, allocations: 307.7 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.858e-05/0.005366, allocations: 31.88 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.005388, allocations: 15.73 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.005394, allocations: 0.6562 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.063e-05/0.005484, allocations: 70.92 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.005486, allocations: 0 / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.00567, allocations: 73.52 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.005699, allocations: 51.41 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.005797, allocations: 181.9 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.005814, allocations: 30.33 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.005869, allocations: 142.8 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.005882, allocations: 8.672 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.00593, allocations: 35.36 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.006043, allocations: 0.4896 MB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.006113, allocations: 57.67 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.006183, allocations: 84.75 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.006262, allocations: 90.39 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006264, allocations: 0 / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001938/0.006458, allocations: 185.9 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.006488, allocations: 41.64 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.006493, allocations: 0.6094 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.006508, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.006566, allocations: 9.078 kB / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.006572, allocations: 3.984 kB / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.006678, allocations: 24.75 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.00669, allocations: 7.938 kB / 0.8165 GB, free: 12.44 MB / 0.7761 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.681e-05/0.006767, allocations: 165.5 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.006779, allocations: 7.938 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.006803, allocations: 5.406 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.006808, allocations: 8 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.006812, allocations: 0 / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006815, allocations: 1.109 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.868e-05/0.006894, allocations: 124.6 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.006896, allocations: 3.984 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.006909, allocations: 10.14 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.006911, allocations: 0 / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.006918, allocations: 3.938 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006919, allocations: 0 / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.00692, allocations: 0 / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/0.007013, allocations: 104.8 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.007023, allocations: 7.938 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.007036, allocations: 7.375 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.007047, allocations: 4 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.007073, allocations: 0 / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.007076, allocations: 0 / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.007127, allocations: 143.5 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007127, allocations: 0 / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001497/0.007277, allocations: 19.98 kB / 0.8171 GB, free: 11.77 MB / 0.7761 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.000123/0.0074, allocations: 107.2 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.007583, allocations: 149.7 kB / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007585, allocations: 0 / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.369e-05/0.007608, allocations: 16.25 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.007784, allocations: 17.39 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.00805, allocations: 146.7 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.008081, allocations: 60.31 kB / 0.8175 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.008103, allocations: 7.984 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.008127, allocations: 13.16 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.008128, allocations: 0 / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.00324/0.01137, allocations: 1.497 MB / 0.819 GB, free: 9.746 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.452681976370513]