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.802/1.802, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001246/0.001246, allocations: 180.5 kB / 366.7 MB, free: 1.656 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.699/1.699, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008561/0.0008562, allocations: 90.77 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.207e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9179/0.918, allocations: 116.3 MB / 0.9733 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/1.144, allocations: 140.2 MB / 1.11 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.145, allocations: 84.84 kB / 1.11 GB, free: 9.785 MB / 0.7136 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.01001/1.155, allocations: 2.947 MB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.096e-06/1.155, allocations: 0 / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.155, allocations: 0 / 1.113 GB, free: 6.863 MB / 0.7136 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.0005684/1.155, allocations: 422.1 kB / 1.114 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/1.155, allocations: 8.594 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/1.155, allocations: 8.531 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/1.156, allocations: 167 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/1.156, allocations: 4.812 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/1.156, allocations: 7.984 kB / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.703e-05/1.156, allocations: 28.42 kB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/1.156, allocations: 59.53 kB / 1.114 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.156, allocations: 0 / 1.114 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/1.156, allocations: 0.6562 kB / 1.114 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/1.156, allocations: 4 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/1.157, allocations: 289.1 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/1.157, allocations: 34.58 kB / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/1.157, allocations: 30.2 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/1.157, allocations: 0 / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/1.157, allocations: 74.17 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/1.157, allocations: 0 / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002877/1.157, allocations: 93.67 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.157, allocations: 56.69 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.157, allocations: 117.3 kB / 1.115 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/1.157, allocations: 30.45 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/1.158, allocations: 88.31 kB / 1.115 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/1.158, allocations: 21.09 kB / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/1.158, allocations: 0 / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.158, allocations: 322.8 kB / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/1.158, allocations: 18.22 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/1.158, allocations: 38.52 kB / 1.115 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.815e-05/1.158, allocations: 28.61 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.158, allocations: 0 / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001676/1.158, allocations: 96.84 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.158, allocations: 8 kB / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.158, allocations: 0 / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.158, allocations: 0 / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/1.158, allocations: 15.98 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.158, allocations: 0 / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/1.158, allocations: 4 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/1.158, allocations: 4 kB / 1.115 GB, free: 4.641 MB / 0.7136 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 0.0001038/1.158, allocations: 120.9 kB / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001597/1.159, allocations: 89.58 kB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/1.159, allocations: 7.984 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/1.159, allocations: 12.62 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.159, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.159, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/1.159, allocations: 1.688 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/1.159, allocations: 342.9 kB / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.159, allocations: 3.984 kB / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/1.159, allocations: 4 kB / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.159, allocations: 4 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/1.159, allocations: 0 / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.159, allocations: 0 / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.159, allocations: 1.172 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/1.159, allocations: 195.4 kB / 1.116 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/1.159, allocations: 89.02 kB / 1.116 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/1.16, allocations: 0 / 1.116 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/1.16, allocations: 4 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/1.16, allocations: 10.36 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/1.16, allocations: 0 / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.25e-05/1.16, allocations: 101.7 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.854e-06/1.16, allocations: 0 / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003239/1.16, allocations: 47.88 kB / 1.116 GB, free: 3.547 MB / 0.7136 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.0008279/1.161, allocations: 0.7966 MB / 1.117 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001539/1.161, allocations: 62.83 kB / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.161, allocations: 0 / 1.117 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.874e-05/1.161, allocations: 24 kB / 1.117 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/1.161, allocations: 4 kB / 1.117 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/1.162, allocations: 154.3 kB / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/1.162, allocations: 0.6931 MB / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.822e-05/1.162, allocations: 13.55 kB / 1.118 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/1.162, allocations: 11.44 kB / 1.118 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.162, allocations: 0 / 1.118 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/1.185, allocations: 2.183 MB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.185, allocations: 189.1 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.793, allocations: 0 / 1.12 GB, free: 15.4 MB / 0.7292 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)