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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 289.7 MB / 302.2 MB, free: 2.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 179 kB / 371.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009216/0.0009217, allocations: 84.11 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.29e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2552, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/1.145, allocations: 140.9 MB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.145, allocations: 82.03 kB / 1.118 GB, free: 43.08 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008343/1.153, allocations: 2.96 MB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/1.153, allocations: 4 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.154, allocations: 4 kB / 1.12 GB, free: 41.37 MB / 0.7448 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.0004372/1.154, allocations: 414.2 kB / 1.121 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.154, allocations: 12.03 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/1.154, allocations: 34.5 kB / 1.121 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/1.154, allocations: 10.41 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/1.154, allocations: 166.3 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/1.154, allocations: 15.31 kB / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/1.154, allocations: 0 / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/1.154, allocations: 63.38 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.154, allocations: 1.031 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.154, allocations: 0 / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.154, allocations: 4 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/1.155, allocations: 21.88 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/1.155, allocations: 320.4 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/1.155, allocations: 43.47 kB / 1.122 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/1.155, allocations: 26.17 kB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/1.155, allocations: 0 / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/1.156, allocations: 77.11 kB / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/1.156, allocations: 0 / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003142/1.156, allocations: 101.2 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/1.156, allocations: 56.02 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.156, allocations: 116.5 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/1.156, allocations: 29.14 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/1.156, allocations: 93.8 kB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/1.156, allocations: 18.25 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/1.156, allocations: 4 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.156, allocations: 321.8 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/1.156, allocations: 19.88 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/1.156, allocations: 38.89 kB / 1.122 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/1.157, allocations: 25.94 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.157, allocations: 0 / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001657/1.157, allocations: 105.9 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.157, allocations: 4 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.157, allocations: 4 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.157, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/1.157, allocations: 11.84 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.157, allocations: 5.469 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/1.157, allocations: 14.81 kB / 1.123 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/1.157, allocations: 4 kB / 1.123 GB, free: 39.27 MB / 0.7448 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/1.157, allocations: 117 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/1.157, allocations: 3.906 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/1.157, allocations: 14.17 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.157, allocations: 3.469 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.157, allocations: 0.5 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.157, allocations: 0 / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/1.158, allocations: 360.7 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.158, allocations: 4 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/1.158, allocations: 8.562 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.158, allocations: 4.594 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/1.158, allocations: 6.594 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/1.158, allocations: 1.125 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.158, allocations: 8.438 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/1.158, allocations: 189.5 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/1.158, allocations: 84.53 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/1.158, allocations: 3.562 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/1.158, allocations: 8.938 kB / 1.123 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/1.158, allocations: 7.375 kB / 1.123 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.158, allocations: 3.953 kB / 1.123 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.815e-05/1.158, allocations: 96.53 kB / 1.123 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.158, allocations: 0 / 1.123 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002859/1.159, allocations: 54.77 kB / 1.123 GB, free: 38.36 MB / 0.7448 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009006/1.159, allocations: 0.7957 MB / 1.124 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001648/1.16, allocations: 62.8 kB / 1.124 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.16, allocations: 0 / 1.124 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/1.16, allocations: 24.88 kB / 1.124 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/1.16, allocations: 11.56 kB / 1.124 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/1.16, allocations: 153.9 kB / 1.125 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/1.161, allocations: 0.6915 MB / 1.125 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.13e-05/1.161, allocations: 7.734 kB / 1.125 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/1.161, allocations: 18.44 kB / 1.125 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/1.161, allocations: 0 / 1.125 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/1.174, allocations: 2.511 MB / 1.128 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.174, allocations: 210.1 kB / 1.128 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.894, allocations: 0 / 1.128 GB, free: 35.05 MB / 0.7448 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/linux/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)