Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 108 kB / 15.6 MB, free: 132 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.001542/0.001542, allocations: 190.8 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.62 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3189, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003145/0.3221, allocations: 1.49 MB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3236, allocations: 0.7322 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.3237, allocations: 7.938 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3238, allocations: 7.922 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.3238, allocations: 11.88 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.3244, allocations: 123.6 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3245, allocations: 67.84 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3246, allocations: 19.97 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.3247, allocations: 35.84 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.3248, allocations: 43.83 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.3248, allocations: 8 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.325, allocations: 91.91 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.3251, allocations: 19.92 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.3251, allocations: 27.86 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3254, allocations: 143.8 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3254, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3254, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3254, allocations: 4 kB / 1.071 GB, free: 7.613 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.0006304/0.326, allocations: 417 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3261, allocations: 12.03 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.3261, allocations: 8.844 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3262, allocations: 176.2 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.3263, allocations: 4.375 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3263, allocations: 12.38 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3265, allocations: 69.97 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3265, allocations: 3.984 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3265, allocations: 4 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3266, allocations: 0 / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.3267, allocations: 43.84 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.3273, allocations: 316.7 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3274, allocations: 46.56 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.3275, allocations: 36.97 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3276, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.3278, allocations: 87.38 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3278, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003787/0.3282, allocations: 137.5 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3282, allocations: 59.41 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.3283, allocations: 121.8 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.3283, allocations: 25.7 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.3284, allocations: 88.12 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3284, allocations: 19.75 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.3285, allocations: 29.7 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3286, allocations: 330.7 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.3287, allocations: 23.98 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/0.3288, allocations: 46.56 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.329, allocations: 70.86 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.329, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002349/0.3292, allocations: 125.5 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3292, allocations: 4 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3293, allocations: 3.938 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3293, allocations: 4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.3294, allocations: 11.98 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3294, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.3295, allocations: 8 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3295, allocations: 7.938 kB / 1.073 GB, free: 5.059 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 9.175e-05/0.3296, allocations: 129.9 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.3296, allocations: 7.906 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.3296, allocations: 8.375 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3296, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3296, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3297, allocations: 7.938 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.3301, allocations: 382.4 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3301, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.3302, allocations: 7.984 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3302, allocations: 0 / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3302, allocations: 4 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3302, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3302, allocations: 3.938 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3305, allocations: 215.3 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.3306, allocations: 81.02 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.3306, allocations: 11.94 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.3307, allocations: 4 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3307, allocations: 11.92 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3307, allocations: 4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.3308, allocations: 91.27 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3308, allocations: 0 / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002853/0.3311, allocations: 36 kB / 1.074 GB, free: 3.977 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.0003382/0.3314, allocations: 165.6 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.3317, allocations: 75.91 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3317, allocations: 3.938 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3318, allocations: 44.03 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3321, allocations: 6.109 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.3326, allocations: 176.3 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.3328, allocations: 0.6924 MB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.3329, allocations: 7.984 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3329, allocations: 11.44 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3329, allocations: 3.938 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.004068/0.337, allocations: 1.446 MB / 1.077 GB, free: 1.309 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)