Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.344/2.344, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 187.5 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 106.8 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001173, allocations: 60.2 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3317, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002167/0.334, allocations: 1.095 MB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.3349, allocations: 0.9909 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3351, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.3352, allocations: 11.86 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.3352, allocations: 23.8 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3355, allocations: 63.94 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3356, allocations: 155.7 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3358, allocations: 62.53 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.3359, allocations: 67.7 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.336, allocations: 79.61 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.336, allocations: 8 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.062e-05/0.336, allocations: 12 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.336, allocations: 31.89 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.3361, allocations: 67.59 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.3362, allocations: 165.5 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3363, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3363, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.3363, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006777/0.337, allocations: 475.1 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.337, allocations: 15.98 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.337, allocations: 16.75 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3372, allocations: 209.6 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3372, allocations: 16.66 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.3373, allocations: 24.27 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.3375, allocations: 144.4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3376, allocations: 4.125 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3376, allocations: 11.94 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3376, allocations: 7.938 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.3378, allocations: 104.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.3387, allocations: 0.5237 MB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.3391, allocations: 139.5 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.3392, allocations: 84.8 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3393, allocations: 7.938 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.3395, allocations: 127.2 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.3395, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.0004624/0.34, allocations: 218.6 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.34, allocations: 59.39 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.3401, allocations: 156.9 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3401, allocations: 33.7 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.3402, allocations: 112.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3402, allocations: 70.94 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.3403, allocations: 41.7 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.3403, allocations: 322.8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.3405, allocations: 67.95 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.3407, allocations: 87.91 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.341, allocations: 151.3 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.341, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003947/0.3414, allocations: 210.1 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3414, allocations: 8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3414, allocations: 4.031 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3414, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3416, allocations: 47.91 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3416, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.3418, allocations: 23.83 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3418, allocations: 8 kB / 1.224 GB, free: 110.7 MB / 0.823 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 7.227e-05/0.3419, allocations: 126.4 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.3419, allocations: 23.81 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.3422, allocations: 188.5 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3423, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3423, allocations: 3.984 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3423, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.3429, allocations: 0.5763 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3429, allocations: 3.938 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3431, allocations: 43.91 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3431, allocations: 8.188 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3431, allocations: 4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3431, allocations: 7.875 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.3431, allocations: 4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.3447, allocations: 1.578 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.3448, allocations: 96.86 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3448, allocations: 12 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3449, allocations: 16.03 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.345, allocations: 23.91 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.345, allocations: 19.92 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.3451, allocations: 108.8 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3451, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003115/0.3454, allocations: 47.89 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.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.000131/0.3455, allocations: 107.2 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.3459, allocations: 159.8 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3459, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.3461, allocations: 88.27 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3464, allocations: 29.55 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.3469, allocations: 0.567 MB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.3471, allocations: 0.7204 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.843e-05/0.3471, allocations: 21.42 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.3472, allocations: 19.44 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.3472, allocations: 3.938 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of Templates: time 0.004044/0.3512, allocations: 1.705 MB / 1.23 GB, free: 104 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)