Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.0008297/0.0008296, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009368/0.0009371, allocations: 168.7 kB / 15.95 MB, free: 204 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.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.875/1.875, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005178/0.0005179, allocations: 13.91 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001844/0.2715, allocations: 1.219 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2729, allocations: 0.7376 MB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.273, allocations: 4 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.273, allocations: 3.938 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.2731, allocations: 11.86 kB / 0.7893 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.2736, allocations: 111.7 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.2737, allocations: 91.7 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.2738, allocations: 4.281 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.2739, allocations: 43.89 kB / 0.7896 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.274, allocations: 55.8 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2741, allocations: 4 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.2742, allocations: 79.86 kB / 0.7897 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.2743, allocations: 19.97 kB / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.2743, allocations: 41.64 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2745, allocations: 111.7 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2746, allocations: 0 / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2746, allocations: 0 / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2746, allocations: 4 kB / 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.000679/0.2753, allocations: 450.5 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2753, allocations: 8.031 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.2754, allocations: 38.56 kB / 0.7904 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.2754, allocations: 7.906 kB / 0.7904 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2756, allocations: 174.9 kB / 0.7905 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.2756, allocations: 4 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2756, allocations: 4 kB / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.2759, allocations: 93.56 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2759, allocations: 0 / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.2759, allocations: 4 kB / 0.7906 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2759, allocations: 3.938 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.2761, allocations: 47.97 kB / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.2769, allocations: 352.6 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2771, allocations: 66.55 kB / 0.7911 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.2772, allocations: 40.84 kB / 0.7911 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2772, allocations: 4 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.2775, allocations: 99.28 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 3.837e-06/0.2775, allocations: 4.094 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005503/0.278, allocations: 197.6 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.2781, allocations: 59.36 kB / 0.7915 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2782, allocations: 129.7 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2783, allocations: 29.7 kB / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.2783, allocations: 92.14 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2784, allocations: 19.8 kB / 0.7917 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.2784, allocations: 0 / 0.7917 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2785, allocations: 322.8 kB / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.2786, allocations: 27.98 kB / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.2787, allocations: 75.64 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.513e-05/0.2788, allocations: 31.94 kB / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2788, allocations: 4 kB / 0.7922 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002482/0.2791, allocations: 137.5 kB / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2791, allocations: 4 kB / 0.7923 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2791, allocations: 3.938 kB / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2791, allocations: 4 kB / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2793, allocations: 15.98 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2793, allocations: 3.953 kB / 0.7923 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.2794, allocations: 23.94 kB / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.2794, allocations: 7.984 kB / 0.7924 GB, free: 6.484 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 0.000103/0.2795, allocations: 118.4 kB / 0.7925 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.2795, allocations: 12.03 kB / 0.7925 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.2796, allocations: 8.375 kB / 0.7925 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2796, allocations: 0 / 0.7925 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2796, allocations: 0 / 0.7925 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2796, allocations: 3.953 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.2802, allocations: 434.4 kB / 0.7929 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2802, allocations: 0 / 0.7929 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2803, allocations: 11.94 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2803, allocations: 4 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2803, allocations: 11.98 kB / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2803, allocations: 7.953 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2803, allocations: 0 / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.2807, allocations: 243.4 kB / 0.7932 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.2808, allocations: 88.95 kB / 0.7933 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.2808, allocations: 0 / 0.7933 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2809, allocations: 11.98 kB / 0.7933 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.281, allocations: 7.953 kB / 0.7933 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.281, allocations: 11.98 kB / 0.7933 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.281, allocations: 91.27 kB / 0.7934 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2811, allocations: 3.938 kB / 0.7934 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003228/0.2814, allocations: 40 kB / 0.7934 GB, free: 5.297 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.0009408/0.2823, allocations: 0.8404 MB / 0.7942 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.2826, allocations: 96.44 kB / 0.7943 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2827, allocations: 0 / 0.7943 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2828, allocations: 51.91 kB / 0.7944 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2831, allocations: 16.14 kB / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2842, allocations: 0.6584 MB / 0.795 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.2845, allocations: 0.6965 MB / 0.7957 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.626e-05/0.2845, allocations: 11.86 kB / 0.7957 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.2846, allocations: 15.44 kB / 0.7957 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.2846, allocations: 0 / 0.7957 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.2989, allocations: 2.655 MB / 0.7983 GB, free: 328 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.2991, allocations: 239 kB / 0.7986 GB, free: 84 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.189, allocations: 0 / 0.7986 GB, free: 84 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) Environment - environmentSimulation: