Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008096/0.0008096, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005506/0.005506, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.58/1.58, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.659/1.659, allocations: 292.7 MB / 0.5502 GB, free: 14.51 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.0004821/0.0004821, allocations: 13.97 kB / 0.6743 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2263, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001771/0.2281, allocations: 1.227 MB / 0.7891 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.2297, allocations: 0.7723 MB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.2298, allocations: 0 / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.2298, allocations: 0 / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.2299, allocations: 15.86 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.2306, allocations: 111.8 kB / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.2307, allocations: 87.72 kB / 0.79 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.2308, allocations: 7.984 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.2309, allocations: 35.91 kB / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.231, allocations: 39.83 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.231, allocations: 4 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.2312, allocations: 95.84 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.2313, allocations: 15.92 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.2314, allocations: 65.55 kB / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.2316, allocations: 151.8 kB / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2316, allocations: 0 / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2316, allocations: 0 / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.2317, allocations: 0 / 0.7904 GB, free: 8.969 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006617/0.2323, allocations: 446.7 kB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2324, allocations: 8.031 kB / 0.7909 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.2324, allocations: 12.84 kB / 0.7909 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2326, allocations: 180.2 kB / 0.791 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.2326, allocations: 384 / 0.791 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.2326, allocations: 16.36 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.2329, allocations: 85.95 kB / 0.7911 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2329, allocations: 0 / 0.7911 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2329, allocations: 4 kB / 0.7911 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2329, allocations: 0 / 0.7911 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2331, allocations: 59.89 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.2337, allocations: 328.6 kB / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.2339, allocations: 66.56 kB / 0.7916 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.234, allocations: 48.83 kB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.234, allocations: 0 / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.2343, allocations: 103.4 kB / 0.7917 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2343, allocations: 4 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004797/0.2348, allocations: 197.5 kB / 0.7919 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.2349, allocations: 51.41 kB / 0.792 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/0.235, allocations: 125.8 kB / 0.7921 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.235, allocations: 33.64 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.2351, allocations: 104.3 kB / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.2351, allocations: 23.89 kB / 0.7922 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.2351, allocations: 21.7 kB / 0.7923 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2353, allocations: 322.8 kB / 0.7926 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.2353, allocations: 28.34 kB / 0.7926 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2355, allocations: 88.59 kB / 0.7927 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2357, allocations: 113.9 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2357, allocations: 0 / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002666/0.236, allocations: 145.5 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.236, allocations: 8 kB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.236, allocations: 0 / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.236, allocations: 7.938 kB / 0.7929 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2361, allocations: 19.98 kB / 0.793 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2362, allocations: 4 kB / 0.793 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.2362, allocations: 7.906 kB / 0.793 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2363, allocations: 4 kB / 0.793 GB, free: 6.078 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001099/0.2364, allocations: 141.7 kB / 0.7931 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.2364, allocations: 7.906 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.2364, allocations: 8.375 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2364, allocations: 4 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2365, allocations: 4 kB / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2365, allocations: 0 / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.237, allocations: 434.4 kB / 0.7936 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.237, allocations: 0 / 0.7936 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.237, allocations: 7.984 kB / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2371, allocations: 4 kB / 0.7936 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2371, allocations: 4 kB / 0.7936 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2371, allocations: 0 / 0.7936 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2371, allocations: 3.938 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.2374, allocations: 255.3 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.2375, allocations: 85.02 kB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2375, allocations: 3.984 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.2376, allocations: 8 kB / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.2377, allocations: 11.92 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2377, allocations: 7.938 kB / 0.7939 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.2377, allocations: 99.95 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2377, allocations: 192 / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003241/0.2381, allocations: 43.98 kB / 0.7941 GB, free: 4.867 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003111/0.2384, allocations: 170.2 kB / 0.7942 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.2386, allocations: 95.89 kB / 0.7943 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2387, allocations: 3.938 kB / 0.7943 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.2388, allocations: 47.98 kB / 0.7944 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.239, allocations: 16.3 kB / 0.7944 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.2394, allocations: 237 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2396, allocations: 0.6926 MB / 0.7953 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.2397, allocations: 8 kB / 0.7953 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.2397, allocations: 15.42 kB / 0.7953 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2397, allocations: 0 / 0.7953 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.003733/0.2435, allocations: 1.604 MB / 0.7969 GB, free: 1.953 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: