Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 106.5 kB / 16.36 MB, free: 6.305 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.001679/0.001679, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.719/1.719, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001751/0.001752, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2327, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002954/0.2357, allocations: 1.472 MB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008809/0.2366, allocations: 491.7 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.2367, allocations: 0 / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.2367, allocations: 3.938 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.2368, allocations: 15.91 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.237, allocations: 23.92 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.2371, allocations: 55.78 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2372, allocations: 11.98 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.846e-05/0.2373, allocations: 23.92 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.2374, allocations: 19.92 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2374, allocations: 11.88 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.2374, allocations: 4 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.2375, allocations: 11.92 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.2375, allocations: 23.88 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.2376, allocations: 51.8 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2377, allocations: 4 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2377, allocations: 0 / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.2377, allocations: 0 / 0.7869 GB, free: 0.9297 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005583/0.2382, allocations: 406.7 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2383, allocations: 12.03 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.2383, allocations: 0.9375 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2385, allocations: 176.3 kB / 0.7875 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2385, allocations: 384 / 0.7875 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2385, allocations: 4.375 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2387, allocations: 69.92 kB / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2387, allocations: 0 / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2387, allocations: 0 / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2387, allocations: 0 / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2389, allocations: 35.97 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3964/0.6352, allocations: 272.5 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.6354, allocations: 41.11 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.6355, allocations: 31.62 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.6355, allocations: 6.969 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.6357, allocations: 76.7 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 2.124e-06/0.6357, allocations: 0 / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0003534/0.6361, allocations: 105.9 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.6361, allocations: 55.73 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.775e-05/0.6362, allocations: 116.1 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.6362, allocations: 27.3 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.6363, allocations: 91.33 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.6363, allocations: 10.48 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.6363, allocations: 30.84 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.6364, allocations: 313.9 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.6364, allocations: 18.09 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.1e-05/0.6365, allocations: 49.56 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.6366, allocations: 67.73 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6366, allocations: 0 / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000166/0.6368, allocations: 102.2 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6368, allocations: 7.5 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6368, allocations: 0 / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6369, allocations: 2.844 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.637, allocations: 10.38 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.637, allocations: 4.906 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.637, allocations: 7.766 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.637, allocations: 3.438 kB / 0.789 GB, free: 47.9 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: 5 (bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.768e-05/0.6371, allocations: 121.2 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.6371, allocations: 10.94 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.6372, allocations: 11.78 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6372, allocations: 3.422 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6372, allocations: 0.75 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6372, allocations: 1.125 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.6375, allocations: 340.6 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6375, allocations: 0.6875 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.6375, allocations: 7.703 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6375, allocations: 3.281 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.6376, allocations: 2.188 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6376, allocations: 5.844 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6376, allocations: 0 / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.6378, allocations: 190 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.6378, allocations: 79.73 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.6378, allocations: 3.125 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.6379, allocations: 5.859 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.638, allocations: 8.281 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.638, allocations: 4.375 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.291e-05/0.638, allocations: 90.14 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.82e-07/0.638, allocations: 0.8125 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002315/0.6383, allocations: 16.88 kB / 0.7899 GB, free: 47.18 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.004e-05/0.6384, allocations: 103.2 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001903/0.6386, allocations: 57.67 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6386, allocations: 0 / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.6387, allocations: 31.77 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.6389, allocations: 3.125 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.6393, allocations: 186.8 kB / 0.7902 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.6394, allocations: 0.6877 MB / 0.7909 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.6394, allocations: 15.08 kB / 0.7909 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6394, allocations: 0 / 0.7909 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.001892/0.6413, allocations: 0.7482 MB / 0.7916 GB, free: 46.24 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)