Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 249.3 MB / 261.8 MB, free: 5.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 174.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 93.41 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.749e-05/4.753e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2327, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8424/1.075, allocations: 133.9 MB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.075, allocations: 85.36 kB / 1.023 GB, free: 484 kB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.01134/1.087, allocations: 3.593 MB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.823e-06/1.087, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.087, allocations: 4 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006099/1.087, allocations: 469.1 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.088, allocations: 8.031 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/1.088, allocations: 37.98 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/1.088, allocations: 15.86 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/1.088, allocations: 179.4 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.088, allocations: 4 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/1.088, allocations: 7.375 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/1.088, allocations: 91.02 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/1.088, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.088, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.088, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.67e-05/1.088, allocations: 44.61 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/1.089, allocations: 371.7 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/1.089, allocations: 59.31 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/1.089, allocations: 39.05 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/1.089, allocations: 3.562 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/1.09, allocations: 97.17 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/1.09, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003383/1.09, allocations: 148.8 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.09, allocations: 59.34 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/1.09, allocations: 136.6 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/1.09, allocations: 27.77 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/1.09, allocations: 101.3 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/1.09, allocations: 26.69 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/1.09, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.09, allocations: 325.7 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/1.09, allocations: 27.05 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/1.09, allocations: 63.92 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/1.091, allocations: 38.86 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.091, allocations: 4 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000258/1.091, allocations: 135.2 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.091, allocations: 8 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.091, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.091, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/1.091, allocations: 23.94 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.091, allocations: 8.562 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/1.091, allocations: 23.77 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/1.091, allocations: 4 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.651e-05/1.091, allocations: 108.4 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/1.091, allocations: 11.89 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/1.091, allocations: 8.562 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.091, allocations: 4 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.091, allocations: 3.953 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.091, allocations: 4.031 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/1.092, allocations: 440.8 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.092, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/1.092, allocations: 15.92 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.092, allocations: 0 / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/1.092, allocations: 11.81 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.092, allocations: 0 / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.092, allocations: 0 / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/1.092, allocations: 247.5 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/1.092, allocations: 85.02 kB / 1.03 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/1.092, allocations: 3.984 kB / 1.03 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.093, allocations: 14.52 kB / 1.03 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/1.093, allocations: 11.92 kB / 1.03 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/1.093, allocations: 7.984 kB / 1.03 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.011e-05/1.093, allocations: 105.5 kB / 1.03 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.093, allocations: 4 kB / 1.03 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003056/1.093, allocations: 55.11 kB / 1.03 GB, free: 9.762 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008848/1.094, allocations: 0.8489 MB / 1.031 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000219/1.094, allocations: 94.98 kB / 1.031 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.094, allocations: 0 / 1.031 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/1.094, allocations: 41.88 kB / 1.031 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/1.094, allocations: 19.42 kB / 1.031 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/1.095, allocations: 200.6 kB / 1.031 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/1.095, allocations: 0.7006 MB / 1.032 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.512e-05/1.095, allocations: 7.984 kB / 1.032 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/1.096, allocations: 29.67 kB / 1.032 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/1.096, allocations: 0 / 1.032 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/1.11, allocations: 3.2 MB / 1.035 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/1.11, allocations: 228 kB / 1.035 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.793, allocations: 4 kB / 1.035 GB, free: 4.574 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)