Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.845/1.845, allocations: 289.9 MB / 297.4 MB, free: 6.434 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.00153/0.001531, allocations: 184.9 kB / 366.7 MB, free: 1.691 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.655/1.655, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0009742/0.0009741, allocations: 84.86 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.015e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6897, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/0.9052, allocations: 140.2 MB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.9055, allocations: 75.95 kB / 1.11 GB, free: 9.781 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.009577/0.9151, allocations: 2.953 MB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9152, allocations: 4.812 kB / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9152, allocations: 0 / 1.113 GB, free: 6.848 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.0005729/0.9158, allocations: 417.8 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.9158, allocations: 8.031 kB / 1.114 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.9159, allocations: 12.25 kB / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.916, allocations: 177 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.9161, allocations: 0 / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.9161, allocations: 5.156 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.005e-05/0.9162, allocations: 27.5 kB / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.9163, allocations: 60.58 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9164, allocations: 0 / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.9164, allocations: 0 / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9164, allocations: 0 / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.917, allocations: 288.8 kB / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.9171, allocations: 42.56 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.9172, allocations: 24.92 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.9172, allocations: 4.078 kB / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.9174, allocations: 73.03 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.9174, allocations: 0 / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003762/0.9178, allocations: 95.16 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.9178, allocations: 51.41 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.9179, allocations: 116.1 kB / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.918, allocations: 32.92 kB / 1.115 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.9181, allocations: 88.33 kB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.9181, allocations: 15.75 kB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.9181, allocations: 0 / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9183, allocations: 322.8 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.9183, allocations: 23.94 kB / 1.115 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.9184, allocations: 41.53 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.9185, allocations: 20 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9185, allocations: 0 / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001666/0.9186, allocations: 93.5 kB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9187, allocations: 4 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9187, allocations: 3.156 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9187, allocations: 4 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.9188, allocations: 11.98 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9188, allocations: 2.578 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.9189, allocations: 8 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.9189, allocations: 3.984 kB / 1.115 GB, free: 4.629 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.0001063/0.919, allocations: 120.9 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001612/0.9192, allocations: 93.58 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.9192, allocations: 4 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.9193, allocations: 4.625 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9193, allocations: 0 / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.9193, allocations: 4 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9193, allocations: 0 / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.9197, allocations: 350.7 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9197, allocations: 4 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.9198, allocations: 4 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9198, allocations: 0 / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.9198, allocations: 3.984 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.9198, allocations: 7.25 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9198, allocations: 3.938 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.9201, allocations: 187.5 kB / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.9201, allocations: 81.02 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.9202, allocations: 8 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.9203, allocations: 11.97 kB / 1.116 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.9203, allocations: 3.984 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.9203, allocations: 4 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.515e-05/0.9204, allocations: 98.23 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9204, allocations: 0 / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000314/0.9207, allocations: 51.92 kB / 1.116 GB, free: 3.527 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.0008885/0.9216, allocations: 0.7861 MB / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.9218, allocations: 55.92 kB / 1.117 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9218, allocations: 8.125 kB / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.9219, allocations: 21.41 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.9221, allocations: 8.766 kB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.9226, allocations: 147.3 kB / 1.117 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.9229, allocations: 0.6931 MB / 1.118 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.923, allocations: 5.438 kB / 1.118 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.923, allocations: 27.42 kB / 1.118 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.9231, allocations: 0 / 1.118 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.945, allocations: 2.182 MB / 1.12 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.9453, allocations: 182.5 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.654, allocations: 3.938 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)