Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.648/2.648, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.002048/0.002048, allocations: 182.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.445/2.445, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.0009545/0.0009541, allocations: 96.55 kB / 0.743 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006329/0.0006331, allocations: 11.75 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2099, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001737/0.2117, allocations: 1.214 MB / 0.9796 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.2133, allocations: 0.7307 MB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.2134, allocations: 4 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.2134, allocations: 3.938 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-05/0.2135, allocations: 19.84 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.2141, allocations: 95.83 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2142, allocations: 79.7 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.2143, allocations: 12 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.596e-05/0.2144, allocations: 39.84 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.2145, allocations: 39.83 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.2146, allocations: 4 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.2148, allocations: 87.84 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.2148, allocations: 11.98 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.2149, allocations: 45.62 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.2151, allocations: 108 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2151, allocations: 0 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2151, allocations: 0 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2151, allocations: 0 / 0.9809 GB, free: 25.75 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006042/0.2157, allocations: 450.4 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2158, allocations: 12.03 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.2159, allocations: 34.55 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.2159, allocations: 11.86 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2161, allocations: 174.9 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.2161, allocations: 8 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.2161, allocations: 8 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.2165, allocations: 89.62 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2165, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.2165, allocations: 4 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2165, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.2168, allocations: 51.91 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.2174, allocations: 328.8 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.2177, allocations: 70.55 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.2179, allocations: 48.83 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.2179, allocations: 4 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/0.2182, allocations: 95.39 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.2182, allocations: 0 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0007089/0.2189, allocations: 205.3 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.219, allocations: 59.41 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.2191, allocations: 126.7 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2191, allocations: 29.7 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.2192, allocations: 88.38 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.2192, allocations: 23.89 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.2193, allocations: 4 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.2193, allocations: 326.8 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2195, allocations: 23.98 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2196, allocations: 83.8 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.2198, allocations: 43.92 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2198, allocations: 0 / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004043/0.2202, allocations: 149.4 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2203, allocations: 7.938 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2203, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2203, allocations: 4 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2205, allocations: 23.88 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2205, allocations: 4 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2206, allocations: 4 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2207, allocations: 12.08 kB / 0.9834 GB, free: 22.93 MB / 0.6198 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2208, allocations: 129.7 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.2208, allocations: 7.906 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.2209, allocations: 12.38 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2209, allocations: 0 / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2209, allocations: 3.953 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2209, allocations: 0 / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.2216, allocations: 434.3 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2216, allocations: 3.984 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.655e-05/0.2217, allocations: 12 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.2217, allocations: 4 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.2218, allocations: 8.406 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2218, allocations: 0 / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2218, allocations: 0 / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.2223, allocations: 251.4 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.2223, allocations: 89 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.2224, allocations: 4 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2226, allocations: 7.953 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.2226, allocations: 11.98 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2226, allocations: 4 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.2227, allocations: 96.39 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2227, allocations: 0 / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004134/0.2231, allocations: 43.98 kB / 0.9844 GB, free: 21.73 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: 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 (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.000994/0.2241, allocations: 0.8574 MB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.2246, allocations: 99.95 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2246, allocations: 0 / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.2248, allocations: 51.91 kB / 0.9854 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.2252, allocations: 15.94 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2265, allocations: 0.6606 MB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.2267, allocations: 0.6929 MB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.003e-05/0.2268, allocations: 7.984 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.2268, allocations: 19.44 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of SimCode: time 9.01e-07/0.2268, allocations: 0 / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.2517, allocations: 2.656 MB / 0.9894 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/0.2521, allocations: 255.4 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/2.973, allocations: 0 / 0.9896 GB, free: 16.43 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)