Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001629/0.001629, allocations: 192.7 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 71.86 kB / 0.6709 GB, free: 26.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1889, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002422/0.1913, allocations: 1.576 MB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1925, allocations: 0.7683 MB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.1925, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.1926, allocations: 3.938 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.1926, allocations: 7.938 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1931, allocations: 107.8 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.548e-05/0.1932, allocations: 67.83 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.1933, allocations: 11.98 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.1934, allocations: 31.86 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.1934, allocations: 35.88 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1934, allocations: 7.938 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1936, allocations: 91.91 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.1937, allocations: 15.92 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.1937, allocations: 27.86 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1939, allocations: 139.9 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1939, allocations: 4 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1939, allocations: 3.938 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.1939, allocations: 3.938 kB / 0.7856 GB, free: 10.99 MB / 0.6075 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.0005745/0.1945, allocations: 405 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1946, allocations: 16.03 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.1946, allocations: 38.73 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.1946, allocations: 8.844 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1948, allocations: 180.2 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1948, allocations: 4.375 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1948, allocations: 4.375 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.195, allocations: 69.78 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.195, allocations: 0 / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.195, allocations: 3.984 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.195, allocations: 4 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1952, allocations: 39.92 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.1957, allocations: 316.7 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1959, allocations: 46.56 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.196, allocations: 32.97 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.196, allocations: 4 kB / 0.7867 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.1962, allocations: 83.38 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1962, allocations: 0 / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003847/0.1966, allocations: 129.6 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1966, allocations: 59.39 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.1967, allocations: 125.8 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1968, allocations: 25.7 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.1968, allocations: 96.06 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.1968, allocations: 15.81 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1969, allocations: 29.7 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.197, allocations: 318.8 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.1971, allocations: 35.91 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.1972, allocations: 46.5 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1973, allocations: 74.53 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1974, allocations: 0 / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.1976, allocations: 117.5 kB / 0.7878 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1976, allocations: 4 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1976, allocations: 4 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1976, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.1977, allocations: 15.92 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1978, allocations: 0 / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.1978, allocations: 8 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1978, allocations: 4 kB / 0.7879 GB, free: 8.414 MB / 0.6075 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.993e-05/0.1979, allocations: 121.8 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.198, allocations: 7.906 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.198, allocations: 16.36 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.198, allocations: 3.938 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.198, allocations: 0 / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.198, allocations: 0 / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.1985, allocations: 382.7 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1985, allocations: 8 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.1985, allocations: 4 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1985, allocations: 0 / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1985, allocations: 7.984 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.1986, allocations: 3.938 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1986, allocations: 0 / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1988, allocations: 211.4 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1989, allocations: 93 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1989, allocations: 3.984 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.199, allocations: 7.938 kB / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1991, allocations: 11.98 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.1991, allocations: 0 / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.379e-05/0.1991, allocations: 91.27 kB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.392e-06/0.1991, allocations: 0 / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002825/0.1994, allocations: 43.94 kB / 0.7889 GB, free: 7.316 MB / 0.6075 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.0007328/0.2002, allocations: 0.8007 MB / 0.7896 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2004, allocations: 79.95 kB / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2004, allocations: 0 / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.2005, allocations: 31.98 kB / 0.7897 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.2008, allocations: 11.94 kB / 0.7898 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2022, allocations: 1.49 MB / 0.7912 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2025, allocations: 0.6926 MB / 0.7919 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.2025, allocations: 8 kB / 0.7919 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.2026, allocations: 19.44 kB / 0.7919 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2026, allocations: 0 / 0.7919 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.214, allocations: 2.421 MB / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.2142, allocations: 264.9 kB / 0.7945 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.852, allocations: 3.938 kB / 0.7945 GB, free: 1.48 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)