Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.606/1.606, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.864/1.864, allocations: 292.3 MB / 0.5488 GB, free: 12.82 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.001417/0.001417, allocations: 76.19 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2614, allocations: 114.6 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002089/0.2635, allocations: 0.6556 MB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.2644, allocations: 0.7854 MB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.2644, allocations: 3.938 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.2644, allocations: 0 / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.2645, allocations: 7.938 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.482e-05/0.2646, allocations: 7.984 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.2647, allocations: 27.86 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2648, allocations: 7.984 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.2648, allocations: 12 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.2649, allocations: 11.92 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.2649, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.2649, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.265, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.265, allocations: 11.92 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.977e-05/0.2651, allocations: 27.91 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2651, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2651, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.2651, allocations: 3.938 kB / 0.7849 GB, free: 11.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005031/0.2656, allocations: 339.7 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2657, allocations: 12.03 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.2657, allocations: 0.9375 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2659, allocations: 168.3 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2659, allocations: 4.375 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2659, allocations: 384 / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.2661, allocations: 50.19 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2661, allocations: 4.172 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2661, allocations: 11.92 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2661, allocations: 0 / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.2663, allocations: 35.97 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.2667, allocations: 249 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2669, allocations: 42.5 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.267, allocations: 20.91 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.267, allocations: 3.938 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.267, allocations: 38.56 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.267, allocations: 0 / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003569/0.2674, allocations: 81.73 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.2674, allocations: 51.41 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.2675, allocations: 105.8 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2676, allocations: 25.7 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.2676, allocations: 84.14 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.2676, allocations: 3.906 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.2677, allocations: 13.72 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2678, allocations: 322.8 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.2679, allocations: 20.02 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.268, allocations: 19.92 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2681, allocations: 36.83 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2681, allocations: 0 / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.2683, allocations: 69.66 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2683, allocations: 8 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2684, allocations: 0 / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2684, allocations: 0 / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.2685, allocations: 7.984 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2685, allocations: 7.984 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.2685, allocations: 3.984 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.2685, allocations: 4 kB / 0.7867 GB, free: 9.809 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 (2): * Single equations (assignments): 2 * 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.703e-05/0.2686, allocations: 121.8 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2687, allocations: 3.906 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.2687, allocations: 7.125 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2687, allocations: 0 / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2687, allocations: 3.938 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2687, allocations: 0 / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2689, allocations: 165.5 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2689, allocations: 0 / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.2689, allocations: 8 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.269, allocations: 3.984 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.269, allocations: 8 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.269, allocations: 0 / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.269, allocations: 0 / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.2692, allocations: 159.5 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.2693, allocations: 77.11 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2693, allocations: 4.25 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.2694, allocations: 12.03 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.2694, allocations: 11.92 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.2694, allocations: 0 / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.2695, allocations: 79.28 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2695, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002104/0.2697, allocations: 4 kB / 0.7873 GB, free: 9.055 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 (2): * Single equations (assignments): 2 * 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.0001502/0.2698, allocations: 103.2 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.2701, allocations: 43.89 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2701, allocations: 0 / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.2702, allocations: 15.98 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.2705, allocations: 14.59 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.2708, allocations: 121.5 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.271, allocations: 0.6768 MB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.2711, allocations: 0 / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.2711, allocations: 7.438 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2711, allocations: 0 / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.002407/0.2735, allocations: 442.2 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)