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.001009/0.001009, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001151/0.001151, allocations: 169 kB / 24.28 MB, free: 276 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.9977/0.9977, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.788/1.788, allocations: 359 MB / 0.6055 GB, free: 11.01 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.215e-06/2.215e-06, allocations: 1.094 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.198e-05, allocations: 5.406 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001274/0.001296, allocations: 0.7358 MB / 0.7879 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.002371, allocations: 1.176 MB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.002416, allocations: 0 / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.002444, allocations: 3.938 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.626e-05/0.00253, allocations: 21.8 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.00291, allocations: 127.6 kB / 0.7892 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.00312, allocations: 123.8 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.003211, allocations: 12.64 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.003298, allocations: 63.91 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.003388, allocations: 36.72 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.003409, allocations: 12 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.003463, allocations: 25.17 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.003482, allocations: 4 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.003531, allocations: 39.91 kB / 0.7895 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.003678, allocations: 95.77 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003681, allocations: 5.391 kB / 0.7896 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003682, allocations: 0 / 0.7896 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.003686, allocations: 0 / 0.7896 GB, free: 10.3 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.0004026/0.004089, allocations: 423.1 kB / 0.79 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004123, allocations: 8.031 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.004172, allocations: 12.94 kB / 0.79 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.004265, allocations: 118.1 kB / 0.7901 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.004283, allocations: 4.375 kB / 0.7901 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.004299, allocations: 4.375 kB / 0.7901 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.341e-05/0.004382, allocations: 54.95 kB / 0.7902 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004389, allocations: 1.844 kB / 0.7902 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.004398, allocations: 384 / 0.7902 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.004406, allocations: 384 / 0.7902 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.004433, allocations: 11.92 kB / 0.7902 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.004752, allocations: 311.7 kB / 0.7905 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.004799, allocations: 31.7 kB / 0.7905 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.004816, allocations: 8.625 kB / 0.7905 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.004822, allocations: 4 kB / 0.7905 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.351e-05/0.004906, allocations: 78.5 kB / 0.7906 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004907, allocations: 0 / 0.7906 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001591/0.005066, allocations: 61.64 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.005097, allocations: 59.39 kB / 0.7907 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.005188, allocations: 179.7 kB / 0.7909 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.005204, allocations: 29.7 kB / 0.7909 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.005258, allocations: 146.8 kB / 0.791 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.00527, allocations: 7.953 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.005315, allocations: 39.3 kB / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.005417, allocations: 0.4908 MB / 0.7916 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.005481, allocations: 53.69 kB / 0.7916 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.005554, allocations: 92.67 kB / 0.7917 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.005627, allocations: 80.75 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005629, allocations: 4 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001787/0.005808, allocations: 182.3 kB / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.005835, allocations: 41.62 kB / 0.792 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005839, allocations: 4.531 kB / 0.792 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.005852, allocations: 1.625 kB / 0.792 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.0059, allocations: 7.938 kB / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.005904, allocations: 0 / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.006001, allocations: 20.05 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.006014, allocations: 8.516 kB / 0.792 GB, free: 7.496 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 6.736e-05/0.006081, allocations: 169.8 kB / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.006091, allocations: 11.89 kB / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.00611, allocations: 4 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006112, allocations: 1.156 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.006114, allocations: 0 / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006117, allocations: 0 / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.111e-05/0.006188, allocations: 130 kB / 0.7923 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006189, allocations: 4 kB / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-06/0.006197, allocations: 0 / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006198, allocations: 0 / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.006205, allocations: 5.688 kB / 0.7923 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006205, allocations: 4 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006206, allocations: 0 / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.375e-05/0.00629, allocations: 100.3 kB / 0.7924 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.006299, allocations: 7.953 kB / 0.7925 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.006311, allocations: 4.812 kB / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.006321, allocations: 0 / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.006347, allocations: 11.45 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006351, allocations: 0 / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001191/0.00647, allocations: 143.1 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00647, allocations: 0 / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001415/0.006611, allocations: 16 kB / 0.7926 GB, free: 6.836 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.813e-05/0.006709, allocations: 103.2 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.006874, allocations: 152.7 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006875, allocations: 0.5 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-05/0.006897, allocations: 17.62 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.007056, allocations: 20.81 kB / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.007296, allocations: 156.1 kB / 0.793 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.007326, allocations: 59.34 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.007344, allocations: 4.469 kB / 0.7931 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.00736, allocations: 8.5 kB / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.007361, allocations: 0 / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of Templates: time 0.003046/0.01041, allocations: 1.499 MB / 0.7946 GB, free: 4.812 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: 5.152811663923785]