Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.00125, 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.001151/0.001151, allocations: 193.7 kB / 16.53 MB, free: 6.699 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.489/1.489, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.69 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003394/0.3107, allocations: 1.503 MB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3123, allocations: 0.7321 MB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.3124, allocations: 3.938 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.3125, allocations: 11.94 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.3126, allocations: 7.922 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007777/0.3133, allocations: 119.6 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3135, allocations: 75.81 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3137, allocations: 15.98 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3138, allocations: 27.92 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.3139, allocations: 47.81 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3139, allocations: 8 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.3142, allocations: 95.84 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.3142, allocations: 19.92 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.3143, allocations: 35.84 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.3146, allocations: 139.9 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3147, allocations: 4 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3147, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.3147, allocations: 0 / 1.071 GB, free: 7.539 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009909/0.3157, allocations: 413 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001248/0.3158, allocations: 12.03 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.3159, allocations: 12.78 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3161, allocations: 172.2 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.3161, allocations: 4.375 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3162, allocations: 8.312 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.3164, allocations: 69.97 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3164, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.3165, allocations: 7.984 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3165, allocations: 7.938 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.3166, allocations: 31.98 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.3175, allocations: 320.7 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3177, allocations: 50.56 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.3178, allocations: 36.97 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3178, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.3181, allocations: 79.31 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.607e-06/0.3182, allocations: 3.984 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004532/0.3186, allocations: 137.5 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.3187, allocations: 59.39 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3188, allocations: 121.8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3189, allocations: 29.7 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.3189, allocations: 92.12 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.319, allocations: 19.81 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.319, allocations: 25.7 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3192, allocations: 322.8 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.3193, allocations: 35.97 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.3194, allocations: 42.56 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.3195, allocations: 74.48 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3195, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002488/0.3198, allocations: 121.5 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3198, allocations: 6.031 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3198, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3199, allocations: 4 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.32, allocations: 11.94 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.32, allocations: 7.922 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.3201, allocations: 4 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3201, allocations: 4 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001175/0.3202, allocations: 124.1 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.3202, allocations: 7.906 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.3203, allocations: 12.36 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3203, allocations: 4 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3203, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3203, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.3208, allocations: 394.7 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3208, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3209, allocations: 4 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3209, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3209, allocations: 7.922 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3209, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3209, allocations: 7.938 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.3212, allocations: 211.4 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.3213, allocations: 85.02 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3213, allocations: 3.984 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.3214, allocations: 4 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.3215, allocations: 7.922 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3215, allocations: 4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.3216, allocations: 95.92 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3216, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003376/0.3219, allocations: 32 kB / 1.074 GB, free: 3.91 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000413/0.3223, allocations: 168.8 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.3226, allocations: 83.88 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3226, allocations: 0 / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3227, allocations: 32.11 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.323, allocations: 23.86 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.3235, allocations: 168.3 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3238, allocations: 0.6924 MB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3238, allocations: 4 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.3239, allocations: 11.44 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3239, allocations: 0 / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of Templates: time 0.004591/0.3285, allocations: 1.449 MB / 1.077 GB, free: 1.238 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)