Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001348/0.001349, allocations: 191.8 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.42 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2857, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00206/0.2878, allocations: 0.7736 MB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000879/0.2887, allocations: 0.8273 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.2888, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.2888, allocations: 4 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.2889, allocations: 7.938 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.2891, allocations: 19.97 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.2891, allocations: 43.86 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2892, allocations: 11.98 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.2893, allocations: 27.86 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.2894, allocations: 19.91 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2894, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.2894, allocations: 8 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.2894, allocations: 8 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.2895, allocations: 23.86 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.422e-05/0.2896, allocations: 39.86 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2896, allocations: 0 / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2896, allocations: 0 / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2896, allocations: 0 / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006314/0.2902, allocations: 383.6 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2903, allocations: 12.03 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.2903, allocations: 4.844 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2904, allocations: 172.3 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2904, allocations: 384 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.2905, allocations: 8.375 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.2907, allocations: 66.22 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.2907, allocations: 192 / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2907, allocations: 3.938 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2907, allocations: 7.938 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2909, allocations: 43.95 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.2914, allocations: 300.7 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.2916, allocations: 54.48 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.2917, allocations: 28.98 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2918, allocations: 4 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.2918, allocations: 30.56 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2918, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000343/0.2922, allocations: 97.47 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2922, allocations: 55.41 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.2923, allocations: 117.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2923, allocations: 29.7 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.2924, allocations: 84.14 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.2924, allocations: 7.906 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2924, allocations: 17.7 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2925, allocations: 322.8 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.2926, allocations: 19.98 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/0.2927, allocations: 23.97 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2929, allocations: 40.83 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2929, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001985/0.2931, allocations: 77.64 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2931, allocations: 9.406 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2931, allocations: 3.938 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2931, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.2932, allocations: 4 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2932, allocations: 4 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2933, allocations: 31.81 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2933, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.208e-05/0.2934, allocations: 113.8 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.2935, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.2937, allocations: 85.55 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2937, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2937, allocations: 4 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2937, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.2939, allocations: 181.6 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2939, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.294, allocations: 4 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.294, allocations: 3.938 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.294, allocations: 7.984 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.294, allocations: 0 / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.294, allocations: 4.375 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.2943, allocations: 171.7 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.2943, allocations: 77.11 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2944, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2945, allocations: 23.95 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.2946, allocations: 11.98 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.2946, allocations: 3.984 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.2946, allocations: 91.22 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2946, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002209/0.2949, allocations: 8 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * 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.0001121/0.295, allocations: 99.23 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.2952, allocations: 47.97 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2952, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-05/0.2953, allocations: 27.97 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2957, allocations: 12.92 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.296, allocations: 149.9 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2963, allocations: 0.6807 MB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.2963, allocations: 4 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.2963, allocations: 7.438 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2963, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.002706/0.2991, allocations: 0.7016 MB / 1.074 GB, free: 4.012 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)