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.002317/0.002317, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002762/0.002762, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.014/3.014, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.415e-06/2.415e-06, allocations: 0 / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.364e-05, allocations: 10.25 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002492/0.002525, allocations: 1.033 MB / 0.8119 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.004147, allocations: 1.03 MB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.004256, allocations: 5.531 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.004422, allocations: 27.67 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.004491, allocations: 15.81 kB / 0.813 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.00482, allocations: 76.97 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.005047, allocations: 176.1 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.005229, allocations: 56.52 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.005429, allocations: 109.4 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.005543, allocations: 55.8 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.00558, allocations: 16 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.005639, allocations: 16 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.005694, allocations: 44.55 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.005769, allocations: 55.88 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.006071, allocations: 195.8 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006074, allocations: 1.656 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006075, allocations: 0 / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.00608, allocations: 0 / 0.8137 GB, free: 15.15 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.0009248/0.007005, allocations: 0.5232 MB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.007043, allocations: 9 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.007208, allocations: 28.84 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.007518, allocations: 179.7 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.007539, allocations: 8.375 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.007581, allocations: 20.33 kB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.007933, allocations: 178.6 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.007947, allocations: 4.172 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.007968, allocations: 8.125 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.007976, allocations: 5.75 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.008286, allocations: 87.95 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.009366, allocations: 0.4972 MB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.009762, allocations: 137.3 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.009918, allocations: 71.7 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.00995, allocations: 4.594 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.01023, allocations: 158.8 kB / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.01023, allocations: 0 / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0005198/0.01075, allocations: 214.5 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.01079, allocations: 51.41 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.01099, allocations: 216.5 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.01102, allocations: 35.48 kB / 0.8161 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.01114, allocations: 167.2 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.01124, allocations: 75.38 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.01133, allocations: 51.36 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005613/0.01189, allocations: 0.5001 MB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.01206, allocations: 60.5 kB / 0.8169 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.01225, allocations: 83.91 kB / 0.817 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.01255, allocations: 145 kB / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01256, allocations: 0 / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004575/0.01301, allocations: 210.3 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01303, allocations: 4 kB / 0.8173 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01304, allocations: 0 / 0.8173 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01305, allocations: 0 / 0.8173 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.01324, allocations: 35.97 kB / 0.8174 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01325, allocations: 4 kB / 0.8174 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.01335, allocations: 15.94 kB / 0.8174 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01337, allocations: 9.062 kB / 0.8174 GB, free: 11.18 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.0001584/0.01352, allocations: 180.5 kB / 0.8176 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.01356, allocations: 20.72 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.01395, allocations: 175.7 kB / 0.8177 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.01396, allocations: 4.844 kB / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01396, allocations: 0 / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01397, allocations: 3.688 kB / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009128/0.01488, allocations: 0.5811 MB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01488, allocations: 3.938 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.01507, allocations: 39.98 kB / 0.8184 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.01508, allocations: 4 kB / 0.8184 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.01509, allocations: 1.875 kB / 0.8184 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.0151, allocations: 7.938 kB / 0.8184 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.0151, allocations: 7.922 kB / 0.8184 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.01574, allocations: 440.5 kB / 0.8188 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.01577, allocations: 15.91 kB / 0.8188 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01579, allocations: 5.062 kB / 0.8188 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.01591, allocations: 15.92 kB / 0.8188 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.01599, allocations: 23.97 kB / 0.8189 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.01601, allocations: 9.078 kB / 0.8189 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001194/0.01613, allocations: 155.9 kB / 0.819 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01613, allocations: 1.125 kB / 0.819 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002596/0.01639, allocations: 31.94 kB / 0.819 GB, free: 9.359 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.0001751/0.01657, allocations: 112 kB / 0.8192 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.01697, allocations: 154.9 kB / 0.8193 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01697, allocations: 0 / 0.8193 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.01714, allocations: 88.88 kB / 0.8194 GB, free: 9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.01749, allocations: 32.62 kB / 0.8194 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.01829, allocations: 395.7 kB / 0.8198 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.01843, allocations: 114.8 kB / 0.8199 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.659e-05/0.01849, allocations: 15.23 kB / 0.8199 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.01856, allocations: 25.08 kB / 0.8199 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.01856, allocations: 0 / 0.8199 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.005876/0.02444, allocations: 1.756 MB / 0.8217 GB, free: 6.652 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.182180618983693]