Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001906/0.001906, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.624/1.624, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.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.001396/0.001396, allocations: 68.67 kB / 0.6708 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2475, allocations: 114.6 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002292/0.2499, allocations: 0.7749 MB / 0.7834 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000956/0.2509, allocations: 0.797 MB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.2509, allocations: 0 / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.2509, allocations: 3.938 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.251, allocations: 7.922 kB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.07e-05/0.2511, allocations: 15.98 kB / 0.7842 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.2512, allocations: 31.92 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2513, allocations: 15.98 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.2514, allocations: 19.92 kB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.2514, allocations: 15.92 kB / 0.7843 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2514, allocations: 0 / 0.7843 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.2514, allocations: 4 kB / 0.7843 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.2515, allocations: 7.984 kB / 0.7843 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.2515, allocations: 15.88 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.721e-05/0.2516, allocations: 43.86 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2516, allocations: 0 / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2516, allocations: 0 / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2516, allocations: 0 / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005954/0.2522, allocations: 367.7 kB / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2523, allocations: 12.03 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.2523, allocations: 4.844 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2525, allocations: 184.2 kB / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2525, allocations: 384 / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.2525, allocations: 384 / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.2528, allocations: 78.2 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2528, allocations: 192 / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2528, allocations: 7.875 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.2528, allocations: 0 / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.2531, allocations: 63.92 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.2536, allocations: 268.9 kB / 0.7853 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.2538, allocations: 58.41 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.254, allocations: 36.92 kB / 0.7854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.254, allocations: 3.984 kB / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.2541, allocations: 38.56 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2541, allocations: 0 / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005608/0.2546, allocations: 125.5 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.2547, allocations: 51.41 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2549, allocations: 113.8 kB / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2549, allocations: 25.7 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.255, allocations: 92.03 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.255, allocations: 7.906 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.2551, allocations: 13.72 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2553, allocations: 314.8 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2554, allocations: 35.95 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.2555, allocations: 27.97 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.2558, allocations: 68.78 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2558, allocations: 3.938 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003123/0.2561, allocations: 101.6 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2562, allocations: 4 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2562, allocations: 0 / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.2562, allocations: 4 kB / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.2564, allocations: 19.97 kB / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2564, allocations: 0 / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.2565, allocations: 15.89 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.2565, allocations: 8 kB / 0.7865 GB, free: 9.852 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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.0001439/0.2567, allocations: 113.8 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.2567, allocations: 0 / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.2568, allocations: 11.91 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2568, allocations: 336 / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2568, allocations: 3.984 kB / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2568, allocations: 0 / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.257, allocations: 177.5 kB / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.257, allocations: 3.984 kB / 0.7868 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.2571, allocations: 15.98 kB / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2572, allocations: 4 kB / 0.7868 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2572, allocations: 0 / 0.7868 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2572, allocations: 3.938 kB / 0.7868 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2572, allocations: 3.938 kB / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.2576, allocations: 203.2 kB / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.2576, allocations: 77.11 kB / 0.787 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2576, allocations: 8 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2578, allocations: 7.984 kB / 0.7871 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.2578, allocations: 7.984 kB / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2578, allocations: 0 / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.2579, allocations: 91.58 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2579, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002161/0.2581, allocations: 8 kB / 0.7872 GB, free: 9.027 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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.0001797/0.2583, allocations: 99.25 kB / 0.7873 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.2587, allocations: 71.86 kB / 0.7873 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2587, allocations: 0 / 0.7873 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.2588, allocations: 35.97 kB / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.2593, allocations: 15.92 kB / 0.7874 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.2597, allocations: 123.2 kB / 0.7875 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.2601, allocations: 0.6809 MB / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.326e-05/0.2601, allocations: 4 kB / 0.7882 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.2602, allocations: 11.44 kB / 0.7882 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2602, allocations: 3.938 kB / 0.7882 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.002975/0.2632, allocations: 0.5487 MB / 0.7887 GB, free: 7.383 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)