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.0009909/0.0009909, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001058/0.001058, allocations: 161 kB / 24.17 MB, free: 328 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.9876/0.9876, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.011/2.011, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.463e-06/1.463e-06, allocations: 0 / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.444e-05, allocations: 6.109 kB / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001306/0.00132, allocations: 0.7845 MB / 0.7609 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.00243, allocations: 1.182 MB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.002469, allocations: 0 / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.002495, allocations: 3.938 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.002574, allocations: 17.02 kB / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.002897, allocations: 136.5 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.003041, allocations: 123.6 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.003108, allocations: 13.23 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.003194, allocations: 65.31 kB / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.003303, allocations: 35.89 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.003322, allocations: 13.03 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.479e-05/0.003387, allocations: 31.97 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.0034, allocations: 0 / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.003436, allocations: 36.92 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.003555, allocations: 99.7 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003557, allocations: 0 / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003557, allocations: 0.6875 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.555e-06/0.00356, allocations: 1.781 kB / 0.7626 GB, free: 4.023 MB / 0.7136 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.0003101/0.00387, allocations: 294.4 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.003901, allocations: 12.03 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.003932, allocations: 8.922 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.764e-05/0.00401, allocations: 117.7 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.004023, allocations: 1.188 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.004036, allocations: 8.375 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.985e-05/0.004095, allocations: 51.7 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.004102, allocations: 192 / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.004107, allocations: 1.125 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.004112, allocations: 384 / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.648e-05/0.004129, allocations: 16.48 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.004346, allocations: 164.3 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.34e-05/0.004379, allocations: 24.77 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.004391, allocations: 8.891 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.004397, allocations: 4.062 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.899e-05/0.004466, allocations: 59.31 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.004467, allocations: 4 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001082/0.004575, allocations: 51.12 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.0046, allocations: 59.39 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.004662, allocations: 126.6 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.004677, allocations: 33.64 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.004716, allocations: 104.5 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.004727, allocations: 6.578 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.004768, allocations: 33.69 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.004868, allocations: 314.8 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.004911, allocations: 49.69 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.717e-05/0.004958, allocations: 72.25 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.005023, allocations: 90.98 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005024, allocations: 0 / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001168/0.005141, allocations: 141 kB / 0.7643 GB, free: 2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.005171, allocations: 43.88 kB / 0.7644 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005176, allocations: 0 / 0.7644 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.005189, allocations: 7.938 kB / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.005224, allocations: 0 / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.005228, allocations: 5.031 kB / 0.7644 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.005318, allocations: 20.92 kB / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.00533, allocations: 4 kB / 0.7644 GB, free: 1.918 MB / 0.7136 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 5.788e-05/0.005387, allocations: 114.8 kB / 0.7645 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-06/0.005395, allocations: 4 kB / 0.7645 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.005415, allocations: 8 kB / 0.7645 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.005418, allocations: 5.609 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.00542, allocations: 0 / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.005424, allocations: 7.984 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.005556, allocations: 79.28 kB / 0.7646 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005557, allocations: 0 / 0.7646 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.789e-06/0.005566, allocations: 7.922 kB / 0.7646 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005568, allocations: 0 / 0.7646 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.005572, allocations: 4.562 kB / 0.7646 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.005573, allocations: 0 / 0.7646 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005574, allocations: 0.5312 kB / 0.7646 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.696e-05/0.005631, allocations: 73.84 kB / 0.7647 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.00564, allocations: 7.938 kB / 0.7647 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-06/0.005647, allocations: 0.5 kB / 0.7647 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.005657, allocations: 4 kB / 0.7647 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.005675, allocations: 7.375 kB / 0.7647 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005677, allocations: 0 / 0.7647 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.005695, allocations: 24.78 kB / 0.7648 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005695, allocations: 0 / 0.7648 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001147/0.00581, allocations: 23.94 kB / 0.7648 GB, free: 1.512 MB / 0.7136 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 8.123e-05/0.005891, allocations: 88.33 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.006008, allocations: 133.9 kB / 0.765 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00601, allocations: 2.781 kB / 0.765 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/0.006027, allocations: 16.8 kB / 0.765 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.006131, allocations: 19.98 kB / 0.765 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.00632, allocations: 144.3 kB / 0.7652 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.558e-05/0.006345, allocations: 59.88 kB / 0.7652 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.006363, allocations: 5 kB / 0.7652 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.00643, allocations: 63.36 kB / 0.7653 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of SimCode: time 3.6e-07/0.00643, allocations: 1.219 kB / 0.7653 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of Templates: time 0.002943/0.009372, allocations: 1.615 MB / 0.7669 GB, free: 15.39 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.087292704265565]