Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00151/0.00151, allocations: 194.6 kB / 16.25 MB, free: 6.625 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 69.94 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3685, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003129/0.3717, allocations: 1.554 MB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.373, allocations: 0.7399 MB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.3731, allocations: 4 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.3731, allocations: 4 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.3732, allocations: 3.938 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.3737, allocations: 111.8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.3738, allocations: 71.77 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.3739, allocations: 15.98 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.934e-05/0.374, allocations: 31.91 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.654e-05/0.374, allocations: 39.83 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3741, allocations: 12 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3743, allocations: 95.84 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.3743, allocations: 23.91 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.3743, allocations: 27.86 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3746, allocations: 143.9 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3746, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3746, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3746, allocations: 0 / 1.07 GB, free: 7.906 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.0006503/0.3753, allocations: 421 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3753, allocations: 8.031 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.3753, allocations: 8.844 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3755, allocations: 176.2 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3755, allocations: 4.375 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3755, allocations: 4.375 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3757, allocations: 73.95 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3757, allocations: 3.984 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3758, allocations: 3.984 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3758, allocations: 8 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3759, allocations: 35.92 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.3765, allocations: 312.8 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.3766, allocations: 50.5 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.3767, allocations: 36.91 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3767, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.3769, allocations: 75.38 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3769, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000375/0.3773, allocations: 145.5 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3774, allocations: 59.39 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.3775, allocations: 121.8 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3775, allocations: 25.7 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.3775, allocations: 96.12 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3776, allocations: 15.75 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.3776, allocations: 29.7 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3778, allocations: 318.8 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.3778, allocations: 35.97 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.3779, allocations: 42.56 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.3781, allocations: 78.78 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3781, allocations: 0 / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002633/0.3784, allocations: 117.5 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3784, allocations: 5.406 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3784, allocations: 4 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3784, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.3785, allocations: 12 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3785, allocations: 3.984 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.3786, allocations: 7.938 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3786, allocations: 4 kB / 1.073 GB, free: 5.359 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 8.671e-05/0.3787, allocations: 125.8 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.3788, allocations: 7.906 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.3788, allocations: 16.36 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3788, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3788, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3788, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3793, allocations: 382.4 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3793, allocations: 4 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.3793, allocations: 4 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3793, allocations: 0 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3793, allocations: 7.984 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3793, allocations: 4 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3793, allocations: 3.938 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3796, allocations: 203.4 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.3797, allocations: 89.02 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3797, allocations: 7.984 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.3798, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3799, allocations: 7.922 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.3799, allocations: 11.88 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.3799, allocations: 91.92 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3799, allocations: 0 / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002897/0.3802, allocations: 36 kB / 1.074 GB, free: 4.273 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.0003349/0.3806, allocations: 160.1 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3808, allocations: 79.83 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3808, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3809, allocations: 32.38 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.3812, allocations: 12.11 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.3816, allocations: 200.4 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3819, allocations: 0.6885 MB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.932e-05/0.3819, allocations: 11.98 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.382, allocations: 11.44 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.382, allocations: 0 / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.004045/0.386, allocations: 1.405 MB / 1.076 GB, free: 1.637 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)