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.001009/0.00101, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001366/0.001366, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.378/1.378, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.649/1.649, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000521/0.000521, allocations: 16.28 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2294, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001563/0.231, allocations: 1.227 MB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2322, allocations: 0.7528 MB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.2322, allocations: 0 / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.2323, allocations: 7.938 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.2323, allocations: 7.922 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.2328, allocations: 103.8 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.238e-05/0.2329, allocations: 63.84 kB / 0.7901 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.211e-05/0.2329, allocations: 15.98 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.233, allocations: 35.78 kB / 0.7902 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.2331, allocations: 31.91 kB / 0.7902 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2331, allocations: 4 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.2333, allocations: 87.91 kB / 0.7903 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.2333, allocations: 15.91 kB / 0.7903 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.2334, allocations: 53.56 kB / 0.7903 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.2336, allocations: 143.8 kB / 0.7905 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2336, allocations: 4 kB / 0.7905 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2336, allocations: 4 kB / 0.7905 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2337, allocations: 0 / 0.7905 GB, free: 8.934 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.0005552/0.2342, allocations: 401 kB / 0.7909 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2343, allocations: 8.031 kB / 0.7909 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.551e-05/0.2343, allocations: 34.75 kB / 0.7909 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.2344, allocations: 8.844 kB / 0.7909 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2345, allocations: 184.2 kB / 0.7911 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2345, allocations: 4.375 kB / 0.7911 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2346, allocations: 4.375 kB / 0.7911 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2347, allocations: 77.77 kB / 0.7912 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2348, allocations: 3.938 kB / 0.7912 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2348, allocations: 4 kB / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2348, allocations: 0 / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2349, allocations: 43.97 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.2355, allocations: 316.8 kB / 0.7915 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.2356, allocations: 54.55 kB / 0.7916 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.2357, allocations: 32.97 kB / 0.7916 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2358, allocations: 11.88 kB / 0.7916 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.236, allocations: 75.38 kB / 0.7917 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.236, allocations: 4 kB / 0.7917 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003755/0.2364, allocations: 149.6 kB / 0.7918 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2364, allocations: 51.41 kB / 0.7919 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.2365, allocations: 121.8 kB / 0.792 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2365, allocations: 29.7 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.2366, allocations: 103.9 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.2366, allocations: 7.906 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.2366, allocations: 21.7 kB / 0.7922 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2368, allocations: 326.8 kB / 0.7925 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.2368, allocations: 23.98 kB / 0.7925 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.2369, allocations: 50.56 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2371, allocations: 82.48 kB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2371, allocations: 3.938 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002473/0.2374, allocations: 129.8 kB / 0.7928 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2374, allocations: 4 kB / 0.7928 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2374, allocations: 4 kB / 0.7928 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.2374, allocations: 0 / 0.7928 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.2375, allocations: 11.98 kB / 0.7928 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.2375, allocations: 8.062 kB / 0.7928 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.2376, allocations: 15.89 kB / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2376, allocations: 8.062 kB / 0.7928 GB, free: 6.305 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.083e-05/0.2377, allocations: 121.8 kB / 0.7929 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.2377, allocations: 4 kB / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.2378, allocations: 12.31 kB / 0.7929 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2378, allocations: 0 / 0.7929 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2378, allocations: 4 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2378, allocations: 0 / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.2382, allocations: 386.3 kB / 0.7933 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2382, allocations: 0 / 0.7933 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.2383, allocations: 7.984 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.2383, allocations: 4 kB / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2383, allocations: 4 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.2383, allocations: 3.938 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2383, allocations: 3.938 kB / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.2386, allocations: 215.4 kB / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.2387, allocations: 81.09 kB / 0.7936 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2387, allocations: 4 kB / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.2388, allocations: 11.94 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.2388, allocations: 7.984 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.2388, allocations: 4 kB / 0.7936 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.2389, allocations: 95.86 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2389, allocations: 0 / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002863/0.2392, allocations: 36 kB / 0.7938 GB, free: 5.219 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.0007609/0.24, allocations: 0.8094 MB / 0.7946 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2402, allocations: 83.95 kB / 0.7946 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2402, allocations: 0 / 0.7946 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/0.2403, allocations: 35.97 kB / 0.7947 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.2406, allocations: 11.94 kB / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.242, allocations: 1.525 MB / 0.7962 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2423, allocations: 0.6848 MB / 0.7968 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.2423, allocations: 15.95 kB / 0.7969 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.2424, allocations: 19.44 kB / 0.7969 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.2424, allocations: 3.938 kB / 0.7969 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.2537, allocations: 2.324 MB / 0.7991 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.2539, allocations: 257.2 kB / 0.7994 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.883, allocations: 0 / 0.7994 GB, free: 15.46 MB / 0.6231 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)