Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002475/0.002475, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00128/0.00128, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9739/0.9739, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.989/1.989, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.031e-05, allocations: 10.38 kB / 0.8116 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001907/0.001937, allocations: 1.047 MB / 0.8126 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.003104, allocations: 1.051 MB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.003213, allocations: 4 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.003353, allocations: 24.83 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.003412, allocations: 27.72 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.003705, allocations: 73.28 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.003866, allocations: 180 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.004, allocations: 56.52 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.004144, allocations: 104.3 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.004234, allocations: 59.78 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.004265, allocations: 16.72 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.004321, allocations: 20.5 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.004355, allocations: 35.84 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.004404, allocations: 57.42 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.004603, allocations: 131.5 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004606, allocations: 0 / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004606, allocations: 0 / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004611, allocations: 0.625 kB / 0.8144 GB, free: 14.77 MB / 0.7761 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.0005374/0.005148, allocations: 0.5004 MB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.005188, allocations: 8.594 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.005316, allocations: 45.31 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.005506, allocations: 161.6 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.005527, allocations: 12.38 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.005559, allocations: 29.69 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.005766, allocations: 154 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.005773, allocations: 192 / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.005792, allocations: 17.86 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005799, allocations: 4 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.005881, allocations: 52.36 kB / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.00651, allocations: 477.5 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.006751, allocations: 107.2 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.428e-05/0.006816, allocations: 55.52 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.006839, allocations: 7.281 kB / 0.816 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.00696, allocations: 118.7 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.006962, allocations: 0 / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0002814/0.007243, allocations: 163.8 kB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.007279, allocations: 55.41 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.007395, allocations: 199.8 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.007422, allocations: 29.7 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.007497, allocations: 171.1 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.007545, allocations: 67.42 kB / 0.8168 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.007603, allocations: 44.42 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.007742, allocations: 0.4962 MB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.007828, allocations: 36.47 kB / 0.8173 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.007897, allocations: 62.55 kB / 0.8174 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.008015, allocations: 89.5 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008017, allocations: 1.031 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002103/0.008228, allocations: 155.9 kB / 0.8176 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.008244, allocations: 4.906 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.00825, allocations: 4 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.008265, allocations: 2.25 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.008372, allocations: 35.92 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.008379, allocations: 3.984 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.00843, allocations: 19.89 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.008441, allocations: 4 kB / 0.8177 GB, free: 11.21 MB / 0.7761 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.0001009/0.008542, allocations: 173.3 kB / 0.8179 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.00857, allocations: 23.94 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.008757, allocations: 135.7 kB / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008761, allocations: 7.938 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.008765, allocations: 1.219 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008768, allocations: 0 / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.009235, allocations: 0.5244 MB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.009238, allocations: 4 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.00937, allocations: 32.95 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.009376, allocations: 4 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.009398, allocations: 13.03 kB / 0.8186 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.009402, allocations: 0 / 0.8186 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.009407, allocations: 15.91 kB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.009696, allocations: 365 kB / 0.8189 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.009716, allocations: 19.84 kB / 0.819 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.009735, allocations: 9.031 kB / 0.819 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.009797, allocations: 11.92 kB / 0.819 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.00985, allocations: 24.94 kB / 0.819 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.009863, allocations: 12 kB / 0.819 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.00992, allocations: 147.2 kB / 0.8192 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00992, allocations: 0.5938 kB / 0.8192 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001886/0.01011, allocations: 28 kB / 0.8192 GB, free: 9.559 MB / 0.7761 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.000107/0.01022, allocations: 104.9 kB / 0.8193 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.0104, allocations: 118.8 kB / 0.8194 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.0104, allocations: 0 / 0.8194 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.01064, allocations: 60.64 kB / 0.8195 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01089, allocations: 31.89 kB / 0.8195 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.01168, allocations: 387.9 kB / 0.8199 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.01173, allocations: 76.06 kB / 0.8199 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.629e-05/0.01178, allocations: 13.48 kB / 0.8199 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.01184, allocations: 25.34 kB / 0.82 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.01184, allocations: 0 / 0.82 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.004196/0.01603, allocations: 1.83 MB / 0.8218 GB, free: 6.887 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.303077249787748]