Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001917/0.001917, allocations: 192.2 kB / 16.25 MB, free: 6.156 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 58.55 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2996, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002277/0.3019, allocations: 0.9798 MB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.303, allocations: 0.8936 MB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.3031, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.3032, allocations: 7.875 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3033, allocations: 19.84 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.3035, allocations: 31.98 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3036, allocations: 123.7 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3038, allocations: 61.27 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3039, allocations: 55.78 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.304, allocations: 55.7 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.3041, allocations: 12 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.3041, allocations: 12 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.3041, allocations: 31.84 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.3042, allocations: 59.67 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.3044, allocations: 151.8 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3044, allocations: 3.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3044, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3044, allocations: 0 / 1.07 GB, free: 8.258 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000595/0.305, allocations: 427 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.305, allocations: 8.031 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.3051, allocations: 16.75 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.3053, allocations: 224.8 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3054, allocations: 8.375 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3054, allocations: 12.12 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3056, allocations: 101.6 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-06/0.3056, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3056, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3057, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.3058, allocations: 71.95 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.3064, allocations: 396.4 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.3067, allocations: 86.61 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3068, allocations: 40.83 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3068, allocations: 4 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.3069, allocations: 38.5 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3069, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003692/0.3072, allocations: 129.5 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.3073, allocations: 51.41 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3074, allocations: 160.2 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.3075, allocations: 29.7 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.3075, allocations: 108.3 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.3076, allocations: 23.64 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.3076, allocations: 21.72 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.3078, allocations: 330.8 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.3079, allocations: 27.98 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.308, allocations: 58.55 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3082, allocations: 64.89 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3082, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002329/0.3085, allocations: 109.6 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3085, allocations: 7.938 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3085, allocations: 3.984 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3085, allocations: 4 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3086, allocations: 19.86 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3086, allocations: 320 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.1e-05/0.3087, allocations: 4 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3088, allocations: 7.984 kB / 1.073 GB, free: 5.477 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001039/0.3089, allocations: 126.9 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.3089, allocations: 15.75 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.3089, allocations: 16.72 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.309, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.309, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.309, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.3092, allocations: 217.5 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3092, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.3093, allocations: 11.98 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3093, allocations: 11.88 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3093, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3093, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3093, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.3096, allocations: 191.4 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.3096, allocations: 96.86 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3097, allocations: 7.984 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3098, allocations: 8 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3099, allocations: 15.97 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3099, allocations: 4 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.067e-05/0.31, allocations: 117 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.31, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002455/0.3102, allocations: 20.09 kB / 1.073 GB, free: 4.539 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001083/0.3103, allocations: 103.1 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.3106, allocations: 79.95 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3106, allocations: 0 / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3107, allocations: 39.91 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.311, allocations: 8 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.3115, allocations: 264.8 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3118, allocations: 0.7002 MB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.94e-05/0.3119, allocations: 12.67 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.312, allocations: 15.42 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of SimCode: time 2.134e-06/0.312, allocations: 0 / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of Templates: time 0.003513/0.3155, allocations: 1.047 MB / 1.076 GB, free: 2.227 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)