Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.573/1.573, allocations: 249.3 MB / 261.8 MB, free: 5.836 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.001202/0.001202, allocations: 172.9 kB / 321.3 MB, free: 14.64 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.742/1.742, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.0008608/0.0008611, allocations: 82.48 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.185e-05, allocations: 8 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7131/0.9166, allocations: 134 MB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.9169, allocations: 82.38 kB / 1.023 GB, free: 0.7383 MB / 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.01037/0.9273, allocations: 3.222 MB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9273, allocations: 4 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9274, allocations: 0 / 1.026 GB, free: 13.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007368/0.9281, allocations: 452 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.9282, allocations: 8.031 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.9283, allocations: 41.69 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.9283, allocations: 7.906 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.9285, allocations: 175 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.9285, allocations: 7.5 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.9286, allocations: 7.984 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.9288, allocations: 71.53 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9288, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.9288, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.9288, allocations: 7.984 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.9289, allocations: 38 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.9297, allocations: 347.7 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.97e-05/0.9299, allocations: 52.64 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.9299, allocations: 35.53 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.93, allocations: 3.25 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.9301, allocations: 84.91 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.445e-06/0.9301, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003077/0.9304, allocations: 130.1 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.9305, allocations: 58.72 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.9306, allocations: 124 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.9306, allocations: 29.27 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.9307, allocations: 102.9 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.9307, allocations: 15.19 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.9307, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9309, allocations: 318.2 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.9309, allocations: 25.12 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.931, allocations: 61.53 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.207e-05/0.9311, allocations: 30.06 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9311, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002075/0.9313, allocations: 115 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.9314, allocations: 4 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9314, allocations: 8.094 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9314, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.9315, allocations: 19.73 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.9315, allocations: 7.953 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.9316, allocations: 7.906 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.9317, allocations: 7.938 kB / 1.028 GB, free: 11.57 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 (13): * Single equations (assignments): 13 * 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.000102/0.9318, allocations: 116.6 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.9318, allocations: 11.91 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.9318, allocations: 7.875 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9319, allocations: 4 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.9319, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.9319, allocations: 3.953 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.9324, allocations: 408.2 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9324, allocations: 3.938 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.9325, allocations: 4 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9325, allocations: 0 / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.9325, allocations: 11.48 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9325, allocations: 3.953 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9325, allocations: 4 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.9328, allocations: 215.7 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.9328, allocations: 89 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.9329, allocations: 0 / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.933, allocations: 7.422 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.933, allocations: 19.92 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.9331, allocations: 7.984 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.743e-05/0.9331, allocations: 91.22 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9331, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003388/0.9335, allocations: 58.48 kB / 1.029 GB, free: 10.52 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 (8): * Single equations (assignments): 4 * 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.0008838/0.9344, allocations: 0.822 MB / 1.03 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.9346, allocations: 72.3 kB / 1.03 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.9346, allocations: 4 kB / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.9347, allocations: 42.36 kB / 1.03 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.9349, allocations: 12.14 kB / 1.03 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.9355, allocations: 176.6 kB / 1.03 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.9358, allocations: 0.6926 MB / 1.031 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.847e-05/0.9358, allocations: 7.984 kB / 1.031 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.9359, allocations: 18.38 kB / 1.031 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/0.9359, allocations: 0 / 1.031 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.9512, allocations: 2.859 MB / 1.034 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.9515, allocations: 223.5 kB / 1.034 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.64, allocations: 0 / 1.034 GB, free: 5.723 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)