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.0009688/0.0009688, 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.001027/0.001027, allocations: 165 kB / 24.17 MB, free: 324 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.9421/0.9421, 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 1.875/1.875, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.024e-06/2.024e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.485e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001404/0.001429, allocations: 0.7321 MB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.002599, allocations: 1.188 MB / 0.7619 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.002642, allocations: 1.031 kB / 0.7619 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.002668, allocations: 3.938 kB / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.28e-05/0.002751, allocations: 16.75 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.003106, allocations: 129.1 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.003258, allocations: 128.4 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.003326, allocations: 8.75 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.003418, allocations: 70.52 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.003499, allocations: 32.62 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.00352, allocations: 12 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.003575, allocations: 21.81 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.003597, allocations: 15.92 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.003636, allocations: 35.91 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.00376, allocations: 87.83 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003763, allocations: 7.938 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003764, allocations: 0.875 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.003767, allocations: 0 / 0.7625 GB, free: 4.121 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.0003263/0.004093, allocations: 295 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.004123, allocations: 8.031 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.004153, allocations: 10.03 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/0.004235, allocations: 117.7 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.004251, allocations: 8.312 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.004265, allocations: 5 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.433e-05/0.00433, allocations: 47.67 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004338, allocations: 4.172 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.004344, allocations: 4.906 kB / 0.763 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.00435, allocations: 4.375 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.004367, allocations: 16.89 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.004577, allocations: 164.3 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.004612, allocations: 19.61 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.004625, allocations: 12.92 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.00463, allocations: 0.5312 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.088e-05/0.004701, allocations: 65.14 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.004702, allocations: 0 / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001118/0.004814, allocations: 49.62 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.004847, allocations: 59.39 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.004916, allocations: 134.5 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.004932, allocations: 26.92 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.004969, allocations: 96.08 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.004982, allocations: 11.94 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.005022, allocations: 26.45 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.005092, allocations: 318.8 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.005137, allocations: 50.31 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.005184, allocations: 80.17 kB / 0.764 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.005241, allocations: 66.61 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005244, allocations: 0 / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001198/0.005364, allocations: 157 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.005389, allocations: 33.7 kB / 0.7643 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005394, allocations: 4.594 kB / 0.7643 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.005408, allocations: 12.89 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.716e-05/0.005446, allocations: 4 kB / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.005448, allocations: 0 / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.784e-05/0.005536, allocations: 17.14 kB / 0.7643 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.005546, allocations: 7.938 kB / 0.7643 GB, free: 2.016 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 6.132e-05/0.005608, allocations: 119.5 kB / 0.7644 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.005615, allocations: 4 kB / 0.7644 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.005634, allocations: 8 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.005637, allocations: 10.69 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005639, allocations: 0 / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005641, allocations: 0 / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.779e-05/0.005709, allocations: 73.88 kB / 0.7645 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.00571, allocations: 0 / 0.7645 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.005722, allocations: 7.984 kB / 0.7645 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005723, allocations: 0 / 0.7645 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.005726, allocations: 0 / 0.7645 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005728, allocations: 2.031 kB / 0.7645 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.00573, allocations: 3.938 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.352e-05/0.005793, allocations: 69.3 kB / 0.7646 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.005802, allocations: 3.953 kB / 0.7646 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.005812, allocations: 7.984 kB / 0.7646 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.005825, allocations: 4.984 kB / 0.7646 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.005845, allocations: 7.922 kB / 0.7646 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.005847, allocations: 0 / 0.7646 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.063e-05/0.005868, allocations: 25.55 kB / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005868, allocations: 0 / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001167/0.005985, allocations: 22.31 kB / 0.7647 GB, free: 1.609 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 0.0001111/0.006096, allocations: 88.41 kB / 0.7648 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.006228, allocations: 137.9 kB / 0.7649 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.00623, allocations: 0 / 0.7649 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.006245, allocations: 13.73 kB / 0.7649 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.006358, allocations: 16.02 kB / 0.7649 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.006577, allocations: 154.7 kB / 0.7651 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.874e-05/0.006606, allocations: 59.34 kB / 0.7651 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.00663, allocations: 4 kB / 0.7651 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.0067, allocations: 71.36 kB / 0.7652 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.006701, allocations: 3.938 kB / 0.7652 GB, free: 1 MB / 0.7136 GB Notification: Performance of Templates: time 0.003012/0.009713, allocations: 1.619 MB / 0.7668 GB, free: 15.48 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 -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: 4.990190775133669]