Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.0009228/0.0009228, allocations: 179.6 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007757/0.0007756, allocations: 87 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004402, allocations: 15.44 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001683/0.2624, allocations: 1.195 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2635, allocations: 0.7266 MB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.2636, allocations: 0 / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.2636, allocations: 3.938 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.2637, allocations: 7.922 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2642, allocations: 95.77 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.798e-05/0.2643, allocations: 67.78 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2644, allocations: 11.98 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/0.2645, allocations: 31.91 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.2646, allocations: 27.84 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2646, allocations: 4 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.2648, allocations: 83.91 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.2648, allocations: 19.91 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.2649, allocations: 37.7 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.265, allocations: 96.05 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.265, allocations: 0 / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2651, allocations: 0 / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2651, allocations: 3.938 kB / 0.982 GB, free: 25.14 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.0006645/0.2657, allocations: 408.8 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2658, allocations: 12.03 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.2658, allocations: 30.56 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.2659, allocations: 11.91 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.397e-05/0.266, allocations: 178.9 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.266, allocations: 0 / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.266, allocations: 8 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2662, allocations: 69.66 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2662, allocations: 3.938 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.2663, allocations: 3.984 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2663, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2664, allocations: 51.91 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.267, allocations: 316.7 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.2671, allocations: 58.55 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.2672, allocations: 32.97 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2673, allocations: 4 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.2675, allocations: 87.38 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2675, allocations: 0 / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003916/0.2679, allocations: 145.5 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.2679, allocations: 55.41 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.268, allocations: 125.8 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.268, allocations: 25.7 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.2681, allocations: 96.27 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2681, allocations: 7.812 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.2681, allocations: 4 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.2682, allocations: 322.8 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.2683, allocations: 31.86 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.2684, allocations: 54.98 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.667e-05/0.2685, allocations: 35.98 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2685, allocations: 0 / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002042/0.2687, allocations: 117.5 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2687, allocations: 13.86 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2687, allocations: 0 / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2688, allocations: 0 / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.2689, allocations: 16 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2689, allocations: 3.953 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.2689, allocations: 11.98 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.269, allocations: 4 kB / 0.9842 GB, free: 22.6 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 7.987e-05/0.2691, allocations: 121.8 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.2691, allocations: 7.906 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.2691, allocations: 12.36 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2691, allocations: 4 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2691, allocations: 0 / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2691, allocations: 3.953 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.2695, allocations: 390.8 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2695, allocations: 0 / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.2696, allocations: 8 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2696, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2696, allocations: 3.984 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2696, allocations: 3.953 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2696, allocations: 3.938 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.2699, allocations: 215.5 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.2699, allocations: 85.02 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2699, allocations: 7.984 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.27, allocations: 4 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2701, allocations: 11.94 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2701, allocations: 7.938 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.2701, allocations: 99.36 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2701, allocations: 0 / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002652/0.2704, allocations: 36 kB / 0.9852 GB, free: 21.5 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.00066/0.2711, allocations: 0.7999 MB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2713, allocations: 79.95 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2713, allocations: 0 / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.266e-05/0.2714, allocations: 39.97 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2717, allocations: 19.81 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008816/0.2726, allocations: 0.6001 MB / 0.9867 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.2727, allocations: 0.6926 MB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.2728, allocations: 4.188 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.2728, allocations: 19.42 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2728, allocations: 4 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.2859, allocations: 2.339 MB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.2862, allocations: 249 kB / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.978, allocations: 0 / 0.9899 GB, free: 16.67 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)