Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001041/0.001041, allocations: 82.64 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.00103/0.00103, allocations: 185 kB / 24.09 MB, free: 416 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.9546/0.9546, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.716/1.716, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.287e-05, allocations: 3.156 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001912/0.001935, allocations: 0.8606 MB / 0.7885 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.003202, allocations: 0.942 MB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003302, allocations: 7.938 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.003346, allocations: 7.875 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.288e-05/0.003439, allocations: 9.094 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.003666, allocations: 71.83 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.003886, allocations: 140.3 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.004054, allocations: 39.33 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.00418, allocations: 77.27 kB / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.004254, allocations: 47.86 kB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.004286, allocations: 12 kB / 0.7898 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.004307, allocations: 16 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.004342, allocations: 32.69 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.004385, allocations: 31.91 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.004542, allocations: 104.1 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004544, allocations: 0.6875 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004545, allocations: 0 / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004549, allocations: 0.9062 kB / 0.79 GB, free: 9.734 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005581/0.005107, allocations: 464.8 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.005149, allocations: 9.281 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.005201, allocations: 28.84 kB / 0.7904 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.0054, allocations: 165.9 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.005416, allocations: 8.375 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.005441, allocations: 16.36 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.005695, allocations: 196.6 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.005707, allocations: 4.125 kB / 0.7908 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.005721, allocations: 7.812 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.00573, allocations: 4.375 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.00582, allocations: 51.89 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.006404, allocations: 395.9 kB / 0.7913 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.006509, allocations: 55.05 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.00655, allocations: 27.8 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.006571, allocations: 4.719 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.006596, allocations: 35.05 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.006598, allocations: 3.938 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002216/0.00682, allocations: 97.45 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.00685, allocations: 51.41 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.006978, allocations: 195.9 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.006996, allocations: 30.86 kB / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.007086, allocations: 174.5 kB / 0.7919 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.007109, allocations: 27.75 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.007166, allocations: 44.02 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.007316, allocations: 0.4923 MB / 0.7925 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.007351, allocations: 8.656 kB / 0.7925 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.007381, allocations: 13.27 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/0.007457, allocations: 41.88 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007459, allocations: 0 / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001401/0.007599, allocations: 85.62 kB / 0.7926 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.007612, allocations: 4.656 kB / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007617, allocations: 0 / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.007633, allocations: 13.28 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.007753, allocations: 23.98 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.007757, allocations: 4 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.007805, allocations: 4.5 kB / 0.7926 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.007813, allocations: 9.156 kB / 0.7927 GB, free: 6.781 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 8.762e-05/0.007901, allocations: 164.6 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.007935, allocations: 11.91 kB / 0.7928 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.008094, allocations: 95.09 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.008098, allocations: 3.938 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.008099, allocations: 1.344 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.008104, allocations: 3.984 kB / 0.7929 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.008475, allocations: 362.2 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.008477, allocations: 0 / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.008558, allocations: 23.92 kB / 0.7933 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.008564, allocations: 8.453 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.008573, allocations: 4.531 kB / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.008575, allocations: 0 / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.008577, allocations: 0.875 kB / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.008771, allocations: 247.4 kB / 0.7935 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.00879, allocations: 12.75 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.008807, allocations: 15.88 kB / 0.7936 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.008898, allocations: 4.531 kB / 0.7936 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.008938, allocations: 9.359 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.00895, allocations: 11.98 kB / 0.7936 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.594e-05/0.009026, allocations: 145.3 kB / 0.7937 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009026, allocations: 0 / 0.7937 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002797/0.009306, allocations: 36.64 kB / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001064/0.009412, allocations: 96.19 kB / 0.7939 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.00954, allocations: 64.83 kB / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.009542, allocations: 0 / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.00959, allocations: 36.64 kB / 0.7939 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.009883, allocations: 15.94 kB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.01031, allocations: 256.3 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.01036, allocations: 71.22 kB / 0.7943 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.0104, allocations: 12.48 kB / 0.7943 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.0105, allocations: 93.53 kB / 0.7944 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.0105, allocations: 0 / 0.7944 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of Templates: time 0.003426/0.01392, allocations: 1.049 MB / 0.7954 GB, free: 3.832 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.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.771083302795887]