Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009481/0.009481, allocations: 101.8 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 192.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.772/1.772, allocations: 251.7 MB / 0.5094 GB, free: 2.973 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 78.06 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3177, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002362/0.3201, allocations: 0.6615 MB / 0.8287 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002037/0.3204, allocations: 23.8 kB / 0.8288 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.3204, allocations: 0 / 0.8288 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.3206, allocations: 7.938 kB / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.3207, allocations: 0 / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.3208, allocations: 4 kB / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3209, allocations: 23.92 kB / 0.8288 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3211, allocations: 35.98 kB / 0.8288 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.3211, allocations: 19.92 kB / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.748e-05/0.3212, allocations: 15.92 kB / 0.8289 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3212, allocations: 0 / 0.8289 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.3212, allocations: 4 kB / 0.8289 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.3213, allocations: 19.92 kB / 0.8289 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.3213, allocations: 15.88 kB / 0.8289 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.3214, allocations: 47.81 kB / 0.829 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3214, allocations: 0 / 0.829 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3214, allocations: 0 / 0.829 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3215, allocations: 0 / 0.829 GB, free: 15.28 MB / 0.6544 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.000535/0.322, allocations: 351.3 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.3221, allocations: 8.031 kB / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3221, allocations: 8.844 kB / 0.8293 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3224, allocations: 188.2 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3224, allocations: 4.375 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3224, allocations: 4.375 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3226, allocations: 78.22 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3226, allocations: 192 / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3226, allocations: 7.938 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3226, allocations: 0 / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.823e-05/0.3227, allocations: 55.84 kB / 0.8296 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/0.3234, allocations: 487 kB / 0.8301 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3235, allocations: 173.5 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.3236, allocations: 84.08 kB / 0.8303 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.3236, allocations: 75.28 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.3236, allocations: 105.8 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 4.789e-06/0.3237, allocations: 7.984 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001069/0.3238, allocations: 37.61 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.3238, allocations: 130.7 kB / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.324, allocations: 173.7 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3241, allocations: 25.7 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.3241, allocations: 96.05 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/0.3242, allocations: 0 / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.3242, allocations: 13.7 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3243, allocations: 322.8 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.3244, allocations: 15.86 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.3244, allocations: 8 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.3244, allocations: 12.84 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3244, allocations: 4 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001431/0.3246, allocations: 49.69 kB / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3246, allocations: 4 kB / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3246, allocations: 0 / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3247, allocations: 8.094 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.3247, allocations: 3.984 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3248, allocations: 3.938 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.3248, allocations: 7.906 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3248, allocations: 4 kB / 0.8314 GB, free: 12.54 MB / 0.6544 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 0.0001404/0.325, allocations: 197 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.3251, allocations: 108.9 kB / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.799e-05/0.3251, allocations: 117 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.591e-05/0.3252, allocations: 184.1 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.602e-05/0.3253, allocations: 184.2 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-05/0.3254, allocations: 184.2 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.3258, allocations: 417.2 kB / 0.8327 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.3258, allocations: 101 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.3259, allocations: 108.9 kB / 0.8329 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.748e-05/0.326, allocations: 184.2 kB / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.3261, allocations: 184.2 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-05/0.3262, allocations: 176.3 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001071/0.3263, allocations: 180.2 kB / 0.8336 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.3265, allocations: 319.8 kB / 0.8339 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3266, allocations: 189.9 kB / 0.8341 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.3267, allocations: 176.5 kB / 0.8343 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3268, allocations: 101 kB / 0.8344 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.327, allocations: 192.1 kB / 0.8346 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.327, allocations: 109 kB / 0.8347 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001571/0.3272, allocations: 133.9 kB / 0.8348 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3272, allocations: 0 / 0.8348 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003074/0.3275, allocations: 4 kB / 0.8348 GB, free: 8.84 MB / 0.6544 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.0002782/0.3278, allocations: 174.5 kB / 0.835 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3279, allocations: 19.92 kB / 0.835 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3279, allocations: 64 / 0.835 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.3279, allocations: 4 kB / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.3285, allocations: 459.7 kB / 0.8354 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.329, allocations: 212.1 kB / 0.8356 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.3295, allocations: 0.6961 MB / 0.8363 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.3295, allocations: 15.94 kB / 0.8363 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.3296, allocations: 7.438 kB / 0.8363 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.3296, allocations: 0 / 0.8363 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of Templates: time 0.003265/0.3328, allocations: 476.3 kB / 0.8368 GB, free: 6.738 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)