Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.318/2.318, allocations: 391.2 MB / 407 MB, free: 10.89 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.00169/0.00169, allocations: 193.3 kB / 499.1 MB, free: 4.684 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.548/1.548, allocations: 222.9 MB / 0.7948 GB, free: 15.78 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.00109/0.00109, allocations: 113.7 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001096, allocations: 55.22 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3276, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002205/0.3299, allocations: 0.7082 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.3301, allocations: 19.92 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.3301, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.3303, allocations: 7.938 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.3304, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 8.771e-05/0.3304, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.3305, allocations: 23.92 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.3307, allocations: 35.97 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.3307, allocations: 11.94 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.3308, allocations: 15.92 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3308, allocations: 0 / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.3308, allocations: 4 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.3309, allocations: 8 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.3309, allocations: 19.88 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.331, allocations: 47.73 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.331, allocations: 4 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.283e-06/0.331, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3311, allocations: 0 / 1.219 GB, free: 116.3 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003634/0.3314, allocations: 349.5 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3315, allocations: 11.98 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.3315, allocations: 8.938 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3317, allocations: 180.2 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3317, allocations: 4.312 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3317, allocations: 12.38 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3319, allocations: 74.22 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3319, allocations: 192 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3319, allocations: 7.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3319, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.332, allocations: 51.91 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.3324, allocations: 483.1 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.825e-05/0.3325, allocations: 177.1 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.3325, allocations: 84.08 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.3326, allocations: 75.28 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3326, allocations: 105.8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3326, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.915e-05/0.3327, allocations: 41.55 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3327, allocations: 130.7 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.3329, allocations: 175.9 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.3329, allocations: 25.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.3329, allocations: 96.12 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.3329, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.333, allocations: 9.719 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.3331, allocations: 322.9 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.3331, allocations: 11.94 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.3331, allocations: 7.984 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.3331, allocations: 12.86 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3332, allocations: 4 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001142/0.3333, allocations: 61.52 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3333, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3333, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3333, allocations: 7.984 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.3334, allocations: 4.094 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3334, allocations: 3.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.3334, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3335, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.669e-05/0.3335, allocations: 193.8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.3336, allocations: 108.9 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.3336, allocations: 116.8 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/0.3337, allocations: 180.3 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.511e-05/0.3337, allocations: 184.2 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.3338, allocations: 188.3 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3339, allocations: 413.2 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/0.3339, allocations: 108.9 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.334, allocations: 109 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.431e-05/0.334, allocations: 184.2 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.334, allocations: 176.3 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.251e-05/0.3341, allocations: 176.3 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.19e-05/0.3341, allocations: 184.1 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3344, allocations: 0.8616 MB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.3344, allocations: 190 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.3345, allocations: 180.2 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.3346, allocations: 105 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3346, allocations: 188.5 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.3346, allocations: 108.9 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.163e-05/0.3347, allocations: 133.1 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3347, allocations: 0 / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003589/0.3351, allocations: 4 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001597/0.3353, allocations: 174.5 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.578e-05/0.3353, allocations: 11.95 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3354, allocations: 12 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.3354, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.3358, allocations: 0.525 MB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.3361, allocations: 229.9 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.3363, allocations: 0.6887 MB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.3363, allocations: 7.984 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.3364, allocations: 11.44 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.3364, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of Templates: time 0.002303/0.3387, allocations: 480 kB / 1.227 GB, free: 107.1 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)