Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009931/0.0009928, allocations: 171.3 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006735/0.0006735, allocations: 95.91 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002793, allocations: 12.02 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1469, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001319/0.1483, allocations: 1.231 MB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009548/0.1492, allocations: 0.7844 MB / 0.8982 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.1493, allocations: 4 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.1493, allocations: 0 / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.1494, allocations: 11.86 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.1497, allocations: 95.83 kB / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.1498, allocations: 79.7 kB / 0.8984 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.1499, allocations: 15.98 kB / 0.8984 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.15, allocations: 31.92 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.15, allocations: 35.83 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.15, allocations: 0 / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1502, allocations: 91.84 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.1502, allocations: 7.984 kB / 0.8985 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.1502, allocations: 35.8 kB / 0.8986 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1504, allocations: 131.7 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1504, allocations: 0 / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1504, allocations: 0 / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1504, allocations: 0 / 0.8987 GB, free: 65.53 MB / 0.6042 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.0004437/0.1509, allocations: 409.1 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1509, allocations: 12.03 kB / 0.8991 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.151, allocations: 34.75 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.151, allocations: 8.844 kB / 0.8991 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.24e-05/0.1511, allocations: 180.2 kB / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1511, allocations: 4.375 kB / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1511, allocations: 4.375 kB / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1513, allocations: 77.78 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.1513, allocations: 0 / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1513, allocations: 7.938 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1513, allocations: 3.984 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1514, allocations: 43.97 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1519, allocations: 324.6 kB / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.152, allocations: 50.56 kB / 0.8998 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.1521, allocations: 40.95 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1521, allocations: 4 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.1523, allocations: 79.44 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1523, allocations: 0 / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003779/0.1527, allocations: 149.6 kB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.1527, allocations: 51.41 kB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.1528, allocations: 129.7 kB / 0.9002 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1528, allocations: 29.7 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.1528, allocations: 88.14 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.1528, allocations: 15.81 kB / 0.9004 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1529, allocations: 25.7 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.1529, allocations: 314.8 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.153, allocations: 35.97 kB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.1531, allocations: 47 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1532, allocations: 86.47 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1532, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001917/0.1534, allocations: 121.5 kB / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1534, allocations: 10.5 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1534, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1535, allocations: 0 / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.1535, allocations: 19.92 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1536, allocations: 400 / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.1536, allocations: 7.938 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1536, allocations: 4 kB / 0.901 GB, free: 62.9 MB / 0.6042 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 5.42e-05/0.1537, allocations: 128.4 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1537, allocations: 11.89 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.1537, allocations: 4.375 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1538, allocations: 4 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1538, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1538, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1541, allocations: 394.4 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1541, allocations: 0 / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.1541, allocations: 8 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1542, allocations: 0 / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1542, allocations: 7.922 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1542, allocations: 3.938 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1542, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.1544, allocations: 223.3 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.1544, allocations: 89 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1544, allocations: 4 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.1545, allocations: 7.938 kB / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1546, allocations: 7.984 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1546, allocations: 4 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.1546, allocations: 103.4 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1546, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002466/0.1549, allocations: 36 kB / 0.902 GB, free: 61.79 MB / 0.6042 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.0005038/0.1554, allocations: 0.804 MB / 0.9028 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1556, allocations: 79.89 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1556, allocations: 128 / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.1557, allocations: 43.92 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1559, allocations: 3.938 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.157, allocations: 1.513 MB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.481e-05/0.1571, allocations: 0.6986 MB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.1571, allocations: 7.938 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1572, allocations: 23.42 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.1572, allocations: 3.938 kB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009724/0.1669, allocations: 2.321 MB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.1671, allocations: 269.8 kB / 0.9076 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.741, allocations: 0 / 0.9076 GB, free: 55.99 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)