Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.889/1.889, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005918/0.0005918, allocations: 15.19 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2873, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001741/0.2891, allocations: 1.231 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2904, allocations: 0.7377 MB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.2904, allocations: 0 / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2905, allocations: 3.938 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.2905, allocations: 7.922 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.2911, allocations: 111.7 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2912, allocations: 87.77 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.2913, allocations: 12.27 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.2914, allocations: 47.83 kB / 0.7896 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.2915, allocations: 43.88 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2915, allocations: 4 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.2917, allocations: 83.84 kB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.2917, allocations: 23.91 kB / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.2918, allocations: 37.7 kB / 0.7898 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.292, allocations: 123.7 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.292, allocations: 4 kB / 0.7899 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.292, allocations: 0 / 0.7899 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.292, allocations: 0 / 0.7899 GB, free: 9.277 MB / 0.6075 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.0006439/0.2926, allocations: 438.5 kB / 0.7903 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2927, allocations: 8.031 kB / 0.7903 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.2928, allocations: 46.48 kB / 0.7904 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.2928, allocations: 7.906 kB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2929, allocations: 174.9 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.293, allocations: 7.938 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.293, allocations: 11.98 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.2932, allocations: 89.62 kB / 0.7906 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2933, allocations: 7.922 kB / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2933, allocations: 0 / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2933, allocations: 0 / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.2935, allocations: 55.97 kB / 0.7907 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.2942, allocations: 348.7 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.2944, allocations: 70.58 kB / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2945, allocations: 48.83 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.2946, allocations: 0 / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.2948, allocations: 99.36 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2948, allocations: 0 / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005451/0.2954, allocations: 197.7 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.2954, allocations: 59.45 kB / 0.7915 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.2955, allocations: 125.7 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.2956, allocations: 33.7 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.2956, allocations: 96.11 kB / 0.7917 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.2957, allocations: 11.81 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.2957, allocations: 4 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2958, allocations: 326.8 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.2959, allocations: 35.98 kB / 0.7921 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.296, allocations: 63.39 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.787e-05/0.2961, allocations: 43.98 kB / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2961, allocations: 0 / 0.7922 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002503/0.2963, allocations: 133.4 kB / 0.7923 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2964, allocations: 4 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2964, allocations: 4.078 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2964, allocations: 4.094 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.2965, allocations: 19.92 kB / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.2965, allocations: 11.94 kB / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.2966, allocations: 15.83 kB / 0.7924 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2966, allocations: 8 kB / 0.7924 GB, free: 6.465 MB / 0.6075 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 () * Number of clocked 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 9.76e-05/0.2967, allocations: 117.8 kB / 0.7925 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.2968, allocations: 7.906 kB / 0.7925 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2968, allocations: 16.36 kB / 0.7925 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2968, allocations: 3.938 kB / 0.7925 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2968, allocations: 0 / 0.7925 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2968, allocations: 3.953 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.2974, allocations: 430.4 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2974, allocations: 4 kB / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.2974, allocations: 7.984 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2975, allocations: 0 / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.2975, allocations: 4 kB / 0.7929 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2975, allocations: 3.953 kB / 0.793 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2975, allocations: 0 / 0.793 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.2979, allocations: 255.3 kB / 0.7932 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.2979, allocations: 89.02 kB / 0.7933 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.298, allocations: 8 kB / 0.7933 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2981, allocations: 11.98 kB / 0.7933 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.2981, allocations: 3.953 kB / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2981, allocations: 7.984 kB / 0.7933 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.2982, allocations: 95.27 kB / 0.7934 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2982, allocations: 4 kB / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003173/0.2985, allocations: 36 kB / 0.7934 GB, free: 5.277 MB / 0.6075 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) * Number of clocked states: 0 () * 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.0009042/0.2994, allocations: 0.8566 MB / 0.7943 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.2997, allocations: 92.08 kB / 0.7944 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2997, allocations: 4 kB / 0.7944 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2999, allocations: 55.97 kB / 0.7944 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3002, allocations: 14.19 kB / 0.7944 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3013, allocations: 0.6591 MB / 0.7951 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3015, allocations: 0.6887 MB / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.3016, allocations: 7.781 kB / 0.7958 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.3016, allocations: 27.42 kB / 0.7958 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3016, allocations: 3.938 kB / 0.7958 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.3155, allocations: 2.661 MB / 0.7984 GB, free: 280 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.3157, allocations: 243.8 kB / 0.7986 GB, free: 28 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.183, allocations: 3.938 kB / 0.7986 GB, free: 24 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) Environment - environmentSimulation: