Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.0008881/0.0008881, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001/0.001, allocations: 176.7 kB / 15.95 MB, free: 192 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.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.93/1.93, 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.0005949/0.000595, allocations: 14.09 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2474, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001756/0.2492, allocations: 1.214 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2505, allocations: 0.7153 MB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.2506, allocations: 0 / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.2506, allocations: 3.938 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.2507, allocations: 7.922 kB / 0.7893 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.2513, allocations: 99.75 kB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.2514, allocations: 67.78 kB / 0.7894 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2515, allocations: 4 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.2517, allocations: 39.89 kB / 0.7895 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.2518, allocations: 35.84 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2518, allocations: 0 / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.252, allocations: 87.91 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.2521, allocations: 11.92 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.2521, allocations: 33.7 kB / 0.7897 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.2523, allocations: 100 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2523, allocations: 3.938 kB / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2524, allocations: 0 / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2524, allocations: 0 / 0.7897 GB, free: 9.402 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007654/0.2531, allocations: 416.8 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2532, allocations: 8.031 kB / 0.7902 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/0.2533, allocations: 34.56 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.2533, allocations: 11.84 kB / 0.7902 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.2535, allocations: 175 kB / 0.7904 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.2536, allocations: 4 kB / 0.7904 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.2536, allocations: 8 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2538, allocations: 77.62 kB / 0.7905 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2539, allocations: 4 kB / 0.7905 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2539, allocations: 0 / 0.7905 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2539, allocations: 0 / 0.7905 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.2541, allocations: 43.97 kB / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.2548, allocations: 324.6 kB / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.255, allocations: 50.55 kB / 0.7909 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.2551, allocations: 36.97 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.2551, allocations: 0 / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.2554, allocations: 87.31 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.2554, allocations: 0 / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004895/0.2559, allocations: 149.6 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.2559, allocations: 59.41 kB / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2561, allocations: 117.8 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.2562, allocations: 29.7 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.2562, allocations: 88.27 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.2563, allocations: 15.81 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.2563, allocations: 0 / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2565, allocations: 326.8 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/0.2566, allocations: 31.92 kB / 0.7918 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.2567, allocations: 59.34 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.2568, allocations: 35.98 kB / 0.7918 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2568, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003009/0.2571, allocations: 117.5 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.2572, allocations: 8 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2572, allocations: 0 / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2572, allocations: 4.062 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.2574, allocations: 19.92 kB / 0.792 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.2574, allocations: 3.953 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.2575, allocations: 8 kB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.2575, allocations: 7.984 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.0001642/0.2577, allocations: 125.7 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.2577, allocations: 7.844 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.2578, allocations: 16.38 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2578, allocations: 0 / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.2578, allocations: 0 / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.2578, allocations: 3.953 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/0.2584, allocations: 382.8 kB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2584, allocations: 0 / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.2585, allocations: 15.98 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2585, allocations: 0 / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2585, allocations: 0 / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.2585, allocations: 4.031 kB / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.2585, allocations: 7.984 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.2589, allocations: 215.3 kB / 0.7928 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.2589, allocations: 85.08 kB / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.259, allocations: 4 kB / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.2591, allocations: 8 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.2591, allocations: 11.94 kB / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.2592, allocations: 0 / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.2592, allocations: 99.2 kB / 0.7929 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2593, allocations: 0 / 0.7929 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003509/0.2596, allocations: 39.98 kB / 0.793 GB, free: 5.738 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,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.001072/0.2607, allocations: 0.8169 MB / 0.7938 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.261, allocations: 75.95 kB / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.261, allocations: 0 / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.2611, allocations: 35.92 kB / 0.7939 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2615, allocations: 20.06 kB / 0.7939 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2629, allocations: 0.6006 MB / 0.7945 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.2635, allocations: 0.6887 MB / 0.7952 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.239e-05/0.2636, allocations: 8.188 kB / 0.7952 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.2636, allocations: 23.42 kB / 0.7952 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.2637, allocations: 0 / 0.7952 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.2806, allocations: 2.32 MB / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.2808, allocations: 244.3 kB / 0.7977 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.213, allocations: 3.656 kB / 0.7977 GB, free: 0.9766 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) Environment - environmentSimulation: