Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001008/0.001008, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.001117/0.001117, allocations: 173 kB / 24.06 MB, free: 452 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 1.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.347/2.347, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.868e-06/3.868e-06, allocations: 0 / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.891e-05, allocations: 4.234 kB / 0.8795 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002561/0.0026, allocations: 1.027 MB / 0.8805 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.004224, allocations: 1.061 MB / 0.8815 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.004383, allocations: 4 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.004583, allocations: 19.73 kB / 0.8815 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.004662, allocations: 23.72 kB / 0.8816 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.005049, allocations: 79.78 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.005261, allocations: 180.1 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.005434, allocations: 49.45 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.005598, allocations: 103.8 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005709, allocations: 64.81 kB / 0.882 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.005741, allocations: 16 kB / 0.882 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.005811, allocations: 16 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.005859, allocations: 41.02 kB / 0.8821 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.005907, allocations: 51.78 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.006146, allocations: 131.5 kB / 0.8823 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.00615, allocations: 4.906 kB / 0.8823 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.006152, allocations: 0 / 0.8823 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.006159, allocations: 0 / 0.8823 GB, free: 3.102 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007105/0.00687, allocations: 0.5076 MB / 0.8828 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.006918, allocations: 8.031 kB / 0.8828 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.007081, allocations: 48.72 kB / 0.8828 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.007312, allocations: 164.8 kB / 0.883 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.007337, allocations: 12.38 kB / 0.883 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.007371, allocations: 20.38 kB / 0.883 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.007587, allocations: 142.1 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007597, allocations: 192 / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.007613, allocations: 12.73 kB / 0.8831 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.007621, allocations: 4.594 kB / 0.8831 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.007683, allocations: 41.02 kB / 0.8832 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.008369, allocations: 457.4 kB / 0.8836 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.008597, allocations: 92.8 kB / 0.8837 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.008647, allocations: 39.67 kB / 0.8838 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.008671, allocations: 7.984 kB / 0.8838 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.008815, allocations: 126.6 kB / 0.8839 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/0.008818, allocations: 0 / 0.8839 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0002589/0.009076, allocations: 139.7 kB / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.009114, allocations: 59.39 kB / 0.8841 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.009226, allocations: 194.6 kB / 0.8843 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.009251, allocations: 33.7 kB / 0.8843 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.009328, allocations: 171.2 kB / 0.8845 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.009376, allocations: 63.42 kB / 0.8845 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.009434, allocations: 51.33 kB / 0.8846 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.00958, allocations: 0.4923 MB / 0.885 GB, free: 52 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.009669, allocations: 35.91 kB / 0.8851 GB, free: 16 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.009749, allocations: 55.19 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.009851, allocations: 86.41 kB / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.009854, allocations: 0 / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001754/0.01003, allocations: 137.5 kB / 0.8853 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01004, allocations: 4 kB / 0.8853 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.01005, allocations: 0 / 0.8853 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.01006, allocations: 0 / 0.8853 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01017, allocations: 39.95 kB / 0.8854 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01018, allocations: 7.984 kB / 0.8854 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.01023, allocations: 19.89 kB / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.01024, allocations: 0 / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001072/0.01035, allocations: 164.6 kB / 0.8856 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.01038, allocations: 27.83 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.01057, allocations: 132.4 kB / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01058, allocations: 4 kB / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01058, allocations: 0 / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01059, allocations: 4 kB / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.01107, allocations: 0.4957 MB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01108, allocations: 0 / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.01118, allocations: 35.92 kB / 0.8862 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01118, allocations: 0 / 0.8862 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01119, allocations: 8 kB / 0.8863 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.0112, allocations: 4.188 kB / 0.8863 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.0112, allocations: 4 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.01149, allocations: 351.8 kB / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.01152, allocations: 23.83 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01154, allocations: 8 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.0116, allocations: 8 kB / 0.8866 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.01166, allocations: 23.94 kB / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.01167, allocations: 15.98 kB / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.01173, allocations: 143.1 kB / 0.8868 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01173, allocations: 0 / 0.8868 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002085/0.01194, allocations: 39.95 kB / 0.8868 GB, free: 14.06 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001415/0.01208, allocations: 103.2 kB / 0.8869 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.01226, allocations: 89.45 kB / 0.887 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01226, allocations: 0 / 0.887 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.01233, allocations: 72.55 kB / 0.8871 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.01281, allocations: 38.86 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/0.01356, allocations: 380.5 kB / 0.8875 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.442e-05/0.01363, allocations: 76.06 kB / 0.8876 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.184e-05/0.01369, allocations: 17.48 kB / 0.8876 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.01381, allocations: 98.19 kB / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of SimCode: time 1.243e-06/0.01381, allocations: 0 / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.004475/0.01828, allocations: 1.982 MB / 0.8896 GB, free: 11.16 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.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: 6.211111402139068]