Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001609/0.001609, allocations: 197.2 kB / 16.26 MB, free: 6.621 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.467/1.467, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.86/1.86, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.002683/0.002683, allocations: 73.67 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2891, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.00322/0.2924, allocations: 1.577 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2939, allocations: 0.7878 MB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.294, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.294, allocations: 3.938 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.2941, allocations: 7.875 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.2949, allocations: 131.7 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.295, allocations: 99.75 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2951, allocations: 12 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2953, allocations: 47.83 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.2954, allocations: 55.8 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2954, allocations: 8 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.2956, allocations: 95.91 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.2957, allocations: 31.91 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.2957, allocations: 35.86 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.296, allocations: 175.8 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2961, allocations: 0 / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2961, allocations: 0 / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2961, allocations: 0 / 0.7858 GB, free: 10.8 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.0007496/0.2968, allocations: 462.5 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2969, allocations: 12.03 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.2969, allocations: 16.83 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2971, allocations: 172.2 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.2971, allocations: 384 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.2971, allocations: 12.38 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.2974, allocations: 89.88 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2974, allocations: 0 / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.2975, allocations: 0 / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2975, allocations: 0 / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.2977, allocations: 55.95 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/0.2985, allocations: 344.7 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2986, allocations: 62.58 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.2988, allocations: 52.83 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2988, allocations: 0 / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003359/0.2992, allocations: 91.36 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.2992, allocations: 0 / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0006292/0.2998, allocations: 197.6 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.2999, allocations: 51.41 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3, allocations: 129.7 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3, allocations: 29.7 kB / 0.7875 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.3001, allocations: 88.14 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.3001, allocations: 19.8 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.3002, allocations: 29.7 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3003, allocations: 322.8 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-05/0.3004, allocations: 35.97 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3006, allocations: 63.28 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3007, allocations: 96.2 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3008, allocations: 0 / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002538/0.301, allocations: 129.4 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.301, allocations: 4 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3011, allocations: 0 / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3011, allocations: 4 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3013, allocations: 20.08 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3013, allocations: 7.938 kB / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.3014, allocations: 15.94 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3014, allocations: 4 kB / 0.7883 GB, free: 7.977 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 0.0001058/0.3015, allocations: 126.4 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.3015, allocations: 7.906 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.3016, allocations: 16.31 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3016, allocations: 4 kB / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3016, allocations: 0 / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3016, allocations: 0 / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.3022, allocations: 442.3 kB / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3022, allocations: 0 / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.3022, allocations: 4 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3023, allocations: 0 / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3023, allocations: 7.984 kB / 0.7889 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3023, allocations: 0 / 0.7889 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3023, allocations: 3.938 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.3027, allocations: 247.7 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.3028, allocations: 88.95 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3028, allocations: 3.984 kB / 0.7892 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.303, allocations: 8 kB / 0.7893 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.3031, allocations: 15.92 kB / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3031, allocations: 4 kB / 0.7893 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.749e-05/0.3032, allocations: 91.27 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3032, allocations: 0 / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003458/0.3035, allocations: 43.98 kB / 0.7894 GB, free: 6.785 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.0004007/0.3039, allocations: 160.3 kB / 0.7896 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.3043, allocations: 99.81 kB / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3043, allocations: 0 / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3044, allocations: 51.89 kB / 0.7897 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3047, allocations: 16.12 kB / 0.7897 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.3052, allocations: 220.1 kB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3055, allocations: 0.6885 MB / 0.7906 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.3056, allocations: 7.984 kB / 0.7906 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.3056, allocations: 11.44 kB / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3056, allocations: 0 / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.004962/0.3106, allocations: 1.713 MB / 0.7923 GB, free: 3.797 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)