Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.635/2.635, allocations: 287.5 MB / 302.4 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 185.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009486/0.0009482, allocations: 96.39 kB / 0.743 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 11.2 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2463, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001937/0.2483, allocations: 1.203 MB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2499, allocations: 0.7229 MB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.2501, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.2501, allocations: 3.938 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.2502, allocations: 7.938 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.2508, allocations: 95.75 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.251, allocations: 67.78 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.2511, allocations: 11.98 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.2512, allocations: 31.91 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.2513, allocations: 31.84 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.2513, allocations: 4 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.2515, allocations: 83.91 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.2516, allocations: 19.91 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.2516, allocations: 33.7 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2518, allocations: 96.05 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2518, allocations: 0 / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.437e-06/0.2518, allocations: 4 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2519, allocations: 0 / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006433/0.2525, allocations: 408.7 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2526, allocations: 8.031 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.009e-05/0.2526, allocations: 34.56 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.2527, allocations: 15.86 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2528, allocations: 175 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.2528, allocations: 4 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.2529, allocations: 8 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.2531, allocations: 65.66 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2532, allocations: 0 / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2532, allocations: 0 / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2532, allocations: 4 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.2534, allocations: 47.91 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.2542, allocations: 316.7 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.2544, allocations: 54.56 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.2545, allocations: 36.95 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2545, allocations: 0 / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.2548, allocations: 87.31 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.2548, allocations: 0 / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005983/0.2554, allocations: 157.5 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.2555, allocations: 51.41 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.2556, allocations: 121.8 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2556, allocations: 29.7 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.2557, allocations: 96.27 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2557, allocations: 11.81 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.2558, allocations: 4 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.2558, allocations: 314.8 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.256, allocations: 31.98 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2561, allocations: 62.86 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2563, allocations: 31.98 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2563, allocations: 0 / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003609/0.2567, allocations: 121.5 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2567, allocations: 6.188 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2567, allocations: 400 / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.2567, allocations: 11.94 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.2569, allocations: 8 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.257, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.2571, allocations: 15.98 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2571, allocations: 4 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.2572, allocations: 122.8 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.2573, allocations: 7.906 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.2573, allocations: 8.375 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2573, allocations: 7.969 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2573, allocations: 3.953 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2573, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.258, allocations: 398.4 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.258, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.258, allocations: 4 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.2581, allocations: 0 / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2581, allocations: 7.953 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2581, allocations: 4 kB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2581, allocations: 3.984 kB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.2585, allocations: 211.4 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.2585, allocations: 81.02 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.2586, allocations: 0 / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2587, allocations: 15.94 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.2588, allocations: 4 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2588, allocations: 11.98 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.2589, allocations: 103.3 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2589, allocations: 0 / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003929/0.2593, allocations: 36 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000936/0.2602, allocations: 0.7963 MB / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.2606, allocations: 79.95 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2606, allocations: 4.062 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.2608, allocations: 35.97 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.2613, allocations: 12.28 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.2627, allocations: 0.5985 MB / 0.9855 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.2628, allocations: 0.6965 MB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.114e-05/0.2629, allocations: 4.188 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.263, allocations: 23.92 kB / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.263, allocations: 0 / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.286, allocations: 2.342 MB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003879/0.2864, allocations: 253.3 kB / 0.9888 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/2.886, allocations: 0 / 0.9888 GB, free: 17.33 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)