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.001031/0.001031, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001092/0.001092, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.156/2.156, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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 4.178e-06/4.178e-06, allocations: 0 / 0.8782 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/4.062e-05, allocations: 6.078 kB / 0.8783 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002746/0.002787, allocations: 1.048 MB / 0.8793 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.004475, allocations: 1.058 MB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.004614, allocations: 4 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.004782, allocations: 24.8 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.004859, allocations: 19.8 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.005252, allocations: 72.92 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.005491, allocations: 180.1 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.005683, allocations: 53.52 kB / 0.8806 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.005857, allocations: 107.8 kB / 0.8808 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.005965, allocations: 56.42 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.005999, allocations: 16 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.00607, allocations: 24.72 kB / 0.8808 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.006105, allocations: 39.84 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.006152, allocations: 57.05 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.006345, allocations: 123.5 kB / 0.8811 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006348, allocations: 3.938 kB / 0.8811 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/0.00635, allocations: 4.812 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.006355, allocations: 0 / 0.8811 GB, free: 3.336 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.0005789/0.006934, allocations: 0.4973 MB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.006973, allocations: 16.02 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.007098, allocations: 41.39 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.007295, allocations: 171.5 kB / 0.8818 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.007318, allocations: 16.38 kB / 0.8818 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.007349, allocations: 17.28 kB / 0.8818 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.007559, allocations: 161.9 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.007568, allocations: 11.8 kB / 0.882 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.007583, allocations: 8.125 kB / 0.882 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.007592, allocations: 4 kB / 0.882 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/0.007678, allocations: 44.56 kB / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.008324, allocations: 475.2 kB / 0.8825 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.008569, allocations: 103.2 kB / 0.8826 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.008636, allocations: 52.28 kB / 0.8826 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.008661, allocations: 4.594 kB / 0.8826 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.008783, allocations: 131.1 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.764e-06/0.008785, allocations: 0.625 kB / 0.8828 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0002546/0.009039, allocations: 152.6 kB / 0.8829 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.009065, allocations: 59.39 kB / 0.883 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.009162, allocations: 199.5 kB / 0.8831 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.00918, allocations: 31.23 kB / 0.8832 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.009385, allocations: 167.2 kB / 0.8833 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.009424, allocations: 63.44 kB / 0.8834 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.009477, allocations: 51.36 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.009594, allocations: 0.4962 MB / 0.8839 GB, free: 204 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.009677, allocations: 31.97 kB / 0.884 GB, free: 172 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.009747, allocations: 68.77 kB / 0.884 GB, free: 96 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.00987, allocations: 92.47 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009873, allocations: 0 / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001847/0.01006, allocations: 150.2 kB / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01007, allocations: 8 kB / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.01008, allocations: 0 / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01009, allocations: 4.031 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01019, allocations: 35.97 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.0102, allocations: 7.938 kB / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.01025, allocations: 15.89 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-06/0.01026, allocations: 4 kB / 0.8843 GB, free: 15.77 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 8.222e-05/0.01034, allocations: 176.4 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.01036, allocations: 23.91 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.01055, allocations: 140.5 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01056, allocations: 4 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01056, allocations: 4 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01057, allocations: 0 / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.01101, allocations: 0.5303 MB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01102, allocations: 4 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.01111, allocations: 27.98 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01111, allocations: 4 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01113, allocations: 12.19 kB / 0.8852 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.01113, allocations: 7.922 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01113, allocations: 7.938 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.01141, allocations: 359.7 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.01143, allocations: 19.84 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01144, allocations: 8 kB / 0.8856 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.01151, allocations: 15.92 kB / 0.8856 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.01156, allocations: 19.97 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.01157, allocations: 8 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.01163, allocations: 153.4 kB / 0.8858 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01163, allocations: 0 / 0.8858 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001849/0.01181, allocations: 31.95 kB / 0.8858 GB, free: 14.11 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.0001005/0.01191, allocations: 103.2 kB / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01209, allocations: 111.6 kB / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.0121, allocations: 0 / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.01216, allocations: 65.62 kB / 0.8861 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.0124, allocations: 32.05 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.01311, allocations: 384.5 kB / 0.8865 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.536e-05/0.01316, allocations: 76.06 kB / 0.8866 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.01321, allocations: 17.48 kB / 0.8866 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.01326, allocations: 24.5 kB / 0.8866 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of SimCode: time 9.61e-07/0.01326, allocations: 0 / 0.8866 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.003686/0.01695, allocations: 1.753 MB / 0.8883 GB, free: 11.5 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: 5.668658547103405]