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.001099/0.001099, 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.001239/0.001239, allocations: 181 kB / 24.09 MB, free: 420 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.9655/0.9655, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.963/1.963, allocations: 377.9 MB / 0.6239 GB, free: 8.434 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 3.487e-06/3.487e-06, allocations: 7.938 kB / 0.8121 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.32e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002131/0.002164, allocations: 0.7331 MB / 0.8128 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.003744, allocations: 1.176 MB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.003803, allocations: 0 / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.003833, allocations: 3.938 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.003929, allocations: 18.3 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.004417, allocations: 123.6 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004611, allocations: 127.8 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.004701, allocations: 7.984 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.004823, allocations: 72.33 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.004928, allocations: 35.88 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.004956, allocations: 13.19 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.005029, allocations: 27.98 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.005051, allocations: 7.938 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.005096, allocations: 29.52 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.005267, allocations: 99.75 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.00527, allocations: 0 / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005271, allocations: 0 / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.005274, allocations: 1.375 kB / 0.8145 GB, free: 14.97 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.000463/0.005737, allocations: 422.1 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.005781, allocations: 8.031 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.005832, allocations: 16.89 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.00593, allocations: 126 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.005951, allocations: 4.375 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.005968, allocations: 4.375 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.006051, allocations: 52.11 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.006058, allocations: 192 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.006065, allocations: 384 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.00607, allocations: 384 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.006092, allocations: 8.469 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.006439, allocations: 296.8 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.006493, allocations: 31.92 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.00651, allocations: 15.69 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.006518, allocations: 0.8125 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.862e-05/0.006616, allocations: 65.05 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.006618, allocations: 0.5312 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001647/0.006783, allocations: 70.88 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.006815, allocations: 55.41 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.006917, allocations: 181.9 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.006937, allocations: 29.7 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.007003, allocations: 140 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.00702, allocations: 7.938 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.007078, allocations: 35.36 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.007219, allocations: 0.4931 MB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.007285, allocations: 49.69 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.007364, allocations: 81.28 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.007453, allocations: 85.44 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007456, allocations: 0.9062 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002262/0.007682, allocations: 177.8 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.007723, allocations: 36.19 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.007731, allocations: 7.938 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007743, allocations: 1.281 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.352e-05/0.007787, allocations: 4 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.007793, allocations: 7.938 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.007921, allocations: 20.66 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.007938, allocations: 8.859 kB / 0.8169 GB, free: 12.21 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 9.155e-05/0.00803, allocations: 162.1 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.008043, allocations: 4 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.008072, allocations: 15.94 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.008074, allocations: 0 / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.008076, allocations: 1.062 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.008081, allocations: 4.047 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.008182, allocations: 113.2 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.008184, allocations: 3.281 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.008202, allocations: 4 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008204, allocations: 3.938 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.008208, allocations: 0 / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.00821, allocations: 0 / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.008212, allocations: 3.938 kB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.008342, allocations: 96.33 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.008356, allocations: 7.938 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.008366, allocations: 0 / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.008387, allocations: 0.5 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.008413, allocations: 7.938 kB / 0.8173 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.008416, allocations: 1.938 kB / 0.8173 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.00848, allocations: 143.6 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00848, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000218/0.008698, allocations: 19.98 kB / 0.8175 GB, free: 11.58 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.0001612/0.008859, allocations: 99.84 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.009045, allocations: 147 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.009047, allocations: 0 / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.009072, allocations: 16.06 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.009297, allocations: 19.34 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.009588, allocations: 146.1 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.009628, allocations: 63.2 kB / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.009657, allocations: 8.078 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.00976, allocations: 86.19 kB / 0.818 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.009761, allocations: 0 / 0.818 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.004418/0.01418, allocations: 1.629 MB / 0.8196 GB, free: 9.355 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.114364203996956]