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.001031/0.001031, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006034/0.006034, allocations: 171.4 kB / 16.27 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.758/1.758, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005907/0.0005908, allocations: 12.22 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2526, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002172/0.2548, allocations: 1.239 MB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2564, allocations: 0.784 MB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.2565, allocations: 0 / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.2565, allocations: 0 / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.2566, allocations: 19.84 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.2572, allocations: 111.8 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.2573, allocations: 99.7 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2574, allocations: 12.27 kB / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.2576, allocations: 39.91 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.2577, allocations: 51.8 kB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2577, allocations: 4 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.258, allocations: 91.84 kB / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.258, allocations: 19.92 kB / 0.7904 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.2581, allocations: 65.53 kB / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.2584, allocations: 155.5 kB / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2584, allocations: 0 / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2584, allocations: 0 / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2584, allocations: 0 / 0.7906 GB, free: 8.766 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.000741/0.2592, allocations: 446.6 kB / 0.791 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.2592, allocations: 12.03 kB / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.2593, allocations: 34.75 kB / 0.7911 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.2593, allocations: 8.844 kB / 0.7911 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2595, allocations: 180.2 kB / 0.7913 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.2595, allocations: 12.36 kB / 0.7913 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2596, allocations: 4.375 kB / 0.7913 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.2598, allocations: 93.75 kB / 0.7914 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2598, allocations: 0 / 0.7914 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2599, allocations: 0 / 0.7914 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2599, allocations: 7.938 kB / 0.7914 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.2601, allocations: 55.91 kB / 0.7914 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.2609, allocations: 348.6 kB / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2611, allocations: 62.55 kB / 0.7918 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2612, allocations: 40.84 kB / 0.7919 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.2613, allocations: 3.984 kB / 0.7919 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.2615, allocations: 103.4 kB / 0.792 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.2616, allocations: 0 / 0.792 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000597/0.2622, allocations: 197.6 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2622, allocations: 55.41 kB / 0.7922 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2623, allocations: 125.8 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.2624, allocations: 29.7 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.2624, allocations: 92.12 kB / 0.7924 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.2624, allocations: 15.81 kB / 0.7925 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.2625, allocations: 17.72 kB / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2626, allocations: 326.8 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.2627, allocations: 31.98 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2628, allocations: 75.83 kB / 0.7929 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.263, allocations: 104.2 kB / 0.793 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.263, allocations: 0 / 0.793 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002755/0.2633, allocations: 137.4 kB / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2633, allocations: 11.92 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.2633, allocations: 4 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2634, allocations: 0 / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2635, allocations: 15.98 kB / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2635, allocations: 8 kB / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.2636, allocations: 15.94 kB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.2636, allocations: 4 kB / 0.7932 GB, free: 5.867 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.939e-05/0.2637, allocations: 130.4 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.2637, allocations: 7.891 kB / 0.7933 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.2638, allocations: 12.38 kB / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2638, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2638, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2638, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.2644, allocations: 434.4 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2644, allocations: 0 / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.2644, allocations: 11.92 kB / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2645, allocations: 0 / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2645, allocations: 0 / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2645, allocations: 0 / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.2645, allocations: 7.938 kB / 0.7937 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.2649, allocations: 255.3 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.265, allocations: 88.98 kB / 0.7941 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.265, allocations: 11.98 kB / 0.7941 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2651, allocations: 4 kB / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.2652, allocations: 11.92 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2652, allocations: 4 kB / 0.7941 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.2653, allocations: 99.27 kB / 0.7942 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2653, allocations: 0 / 0.7942 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003321/0.2656, allocations: 43.98 kB / 0.7942 GB, free: 4.668 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009595/0.2666, allocations: 0.8336 MB / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.2669, allocations: 91.89 kB / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2669, allocations: 0 / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.267, allocations: 60.39 kB / 0.7952 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.2673, allocations: 15.92 kB / 0.7952 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.2691, allocations: 1.606 MB / 0.7968 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2694, allocations: 0.6926 MB / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.753e-05/0.2694, allocations: 11.77 kB / 0.7975 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.2695, allocations: 19.44 kB / 0.7975 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.2695, allocations: 0 / 0.7975 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.2827, allocations: 2.657 MB / 0.8001 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.283, allocations: 265 kB / 0.8003 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.949, allocations: 0 / 0.8003 GB, free: 14.43 MB / 0.6231 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/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)