Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.628/1.628, allocations: 297.8 MB / 313.8 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 176.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.2 MB / 0.6626 GB, free: 4.281 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007907/0.0007908, allocations: 95.42 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 19.94 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6266, allocations: 120.3 MB / 1.026 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.7899, allocations: 140.8 MB / 1.164 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.7902, allocations: 66.83 kB / 1.164 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002019/0.7922, allocations: 0.8079 MB / 1.165 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7922, allocations: 0 / 1.165 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.7923, allocations: 5.406 kB / 1.165 GB, free: 1.898 MB / 0.7292 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.0003436/0.7926, allocations: 367.7 kB / 1.165 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.7927, allocations: 8.531 kB / 1.165 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.7927, allocations: 2.594 kB / 1.165 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.7928, allocations: 178.6 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7928, allocations: 1.531 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.7928, allocations: 4.375 kB / 1.165 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.793, allocations: 77.75 kB / 1.165 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7931, allocations: 192 / 1.165 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.7931, allocations: 8.922 kB / 1.165 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7931, allocations: 1.531 kB / 1.165 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.7934, allocations: 83.31 kB / 1.165 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.7938, allocations: 313.6 kB / 1.166 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.794, allocations: 67.67 kB / 1.166 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.7942, allocations: 53.8 kB / 1.166 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.7942, allocations: 0 / 1.166 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.7942, allocations: 33.08 kB / 1.166 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.7942, allocations: 0 / 1.166 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000492/0.7947, allocations: 171.7 kB / 1.166 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.7948, allocations: 51.41 kB / 1.166 GB, free: 496 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.7948, allocations: 106.8 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.7948, allocations: 25.7 kB / 1.166 GB, free: 352 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.7949, allocations: 89.98 kB / 1.166 GB, free: 260 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.7949, allocations: 10.44 kB / 1.166 GB, free: 252 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.7949, allocations: 2.953 kB / 1.166 GB, free: 252 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.795, allocations: 314.3 kB / 1.167 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.7951, allocations: 42.98 kB / 1.167 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.7953, allocations: 44.34 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.7957, allocations: 88.77 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.7957, allocations: 11.88 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003428/0.7961, allocations: 120.6 kB / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7961, allocations: 8 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.7961, allocations: 4 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.7961, allocations: 0 / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.7962, allocations: 22.52 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.7963, allocations: 1.516 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.7963, allocations: 20.55 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.7963, allocations: 4 kB / 1.167 GB, free: 15.64 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.7964, allocations: 114.9 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.7964, allocations: 4.609 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.7965, allocations: 8.656 kB / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7965, allocations: 0 / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7965, allocations: 1.656 kB / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.7965, allocations: 4 kB / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.7967, allocations: 170.9 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7967, allocations: 0.5156 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.7968, allocations: 24.95 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.7968, allocations: 5.312 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.7968, allocations: 0 / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7968, allocations: 0.5625 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7968, allocations: 0.6562 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.7973, allocations: 223 kB / 1.167 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.7974, allocations: 77.81 kB / 1.167 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.7974, allocations: 5.625 kB / 1.167 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.7975, allocations: 17.16 kB / 1.167 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.7975, allocations: 7.656 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.7975, allocations: 0 / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.7976, allocations: 90.97 kB / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7976, allocations: 0 / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001913/0.7978, allocations: 4 kB / 1.168 GB, free: 14.86 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.7979, allocations: 108.2 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.7983, allocations: 88.25 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7983, allocations: 4 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.7985, allocations: 45.33 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.7987, allocations: 13.86 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.7991, allocations: 131.6 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.7993, allocations: 0.6817 MB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.7994, allocations: 6.391 kB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.7994, allocations: 11.44 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.7994, allocations: 5.062 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of Templates: time 0.00228/0.8017, allocations: 0.5246 MB / 1.169 GB, free: 13.48 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)