Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 113.2 kB / 15.99 MB, free: 5.91 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.001074/0.001074, allocations: 188.9 kB / 16.91 MB, free: 5.758 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.379/1.379, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.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.77/1.77, allocations: 292.3 MB / 0.5492 GB, free: 17.53 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.001496/0.001496, allocations: 59.91 kB / 0.6716 GB, free: 6.934 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2267, allocations: 114.5 MB / 0.7835 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003305/0.23, allocations: 1.666 MB / 0.7851 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2316, allocations: 0.8034 MB / 0.7859 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.2317, allocations: 3.938 kB / 0.7859 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.2318, allocations: 7.938 kB / 0.7859 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.2318, allocations: 19.84 kB / 0.7859 GB, free: 1.742 MB / 0.6544 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.000733/0.2326, allocations: 127.7 kB / 0.7861 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.2328, allocations: 135.6 kB / 0.7862 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2329, allocations: 23.98 kB / 0.7862 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.233, allocations: 55.83 kB / 0.7863 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2332, allocations: 67.73 kB / 0.7863 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.2332, allocations: 12 kB / 0.7863 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.2334, allocations: 103.8 kB / 0.7864 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.2335, allocations: 35.88 kB / 0.7865 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.2336, allocations: 51.78 kB / 0.7865 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.2338, allocations: 139.9 kB / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2338, allocations: 4 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2338, allocations: 0 / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2339, allocations: 4 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008584/0.2347, allocations: 478.4 kB / 0.7871 GB, free: 480 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2348, allocations: 8.031 kB / 0.7871 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.2348, allocations: 12.84 kB / 0.7871 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.235, allocations: 188.6 kB / 0.7873 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.235, allocations: 8.312 kB / 0.7873 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.235, allocations: 8.125 kB / 0.7873 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2353, allocations: 109.5 kB / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.2353, allocations: 0 / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2353, allocations: 0 / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2353, allocations: 0 / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.2356, allocations: 63.89 kB / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3853/0.6209, allocations: 363.6 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.6211, allocations: 74.14 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.6213, allocations: 53.55 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.6213, allocations: 0 / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/0.6216, allocations: 105.5 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.395e-06/0.6216, allocations: 0 / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005316/0.6221, allocations: 215 kB / 0.7883 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.6222, allocations: 57.66 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/0.6223, allocations: 141.6 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.6223, allocations: 29.45 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.6224, allocations: 103.8 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.6224, allocations: 20.64 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.6224, allocations: 35.92 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.6225, allocations: 320.8 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.6226, allocations: 40.89 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.6227, allocations: 81.28 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.6229, allocations: 114.5 kB / 0.7892 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6229, allocations: 0 / 0.7892 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002848/0.6232, allocations: 157 kB / 0.7893 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6233, allocations: 7.906 kB / 0.7893 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6233, allocations: 0 / 0.7893 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6233, allocations: 4.625 kB / 0.7893 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.6234, allocations: 20.03 kB / 0.7894 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.6235, allocations: 7.188 kB / 0.7894 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.6236, allocations: 12.56 kB / 0.7894 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.6236, allocations: 7.125 kB / 0.7894 GB, free: 47.95 MB / 0.6544 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,win.occ,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 (14): * Single equations (assignments): 14 * 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 7.318e-05/0.6237, allocations: 133.4 kB / 0.7895 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.6237, allocations: 7.156 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.6238, allocations: 16.84 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6238, allocations: 5.938 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.6238, allocations: 0 / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6238, allocations: 0 / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.6243, allocations: 464.2 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6243, allocations: 0.5 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.6244, allocations: 11.25 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6244, allocations: 2.625 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.6244, allocations: 3.188 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6244, allocations: 1.656 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6244, allocations: 2.625 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.6247, allocations: 268.9 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.6248, allocations: 94.52 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.6248, allocations: 5.094 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6249, allocations: 6.391 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.625, allocations: 10.67 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.625, allocations: 9.531 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.6251, allocations: 105.1 kB / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6251, allocations: 1 kB / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003191/0.6254, allocations: 45.59 kB / 0.7905 GB, free: 47.21 MB / 0.6544 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.000346/0.6258, allocations: 161.9 kB / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.6261, allocations: 118.4 kB / 0.7908 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6261, allocations: 0 / 0.7908 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.6263, allocations: 57.53 kB / 0.7909 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.6266, allocations: 14.53 kB / 0.7909 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.6271, allocations: 274.7 kB / 0.7911 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.6272, allocations: 0.696 MB / 0.7918 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.6273, allocations: 17.5 kB / 0.7918 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6273, allocations: 0 / 0.7918 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.004017/0.6313, allocations: 2.049 MB / 0.7938 GB, free: 46.13 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)