Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 176.6 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009517/0.0009517, allocations: 88.47 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 12.61 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001657/0.2206, allocations: 1.207 MB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2217, allocations: 0.7381 MB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.2218, allocations: 8 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.2218, allocations: 3.938 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.2219, allocations: 11.97 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.2223, allocations: 103.6 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.2224, allocations: 55.92 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.2225, allocations: 4 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.2226, allocations: 43.84 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.2226, allocations: 39.89 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2226, allocations: 4 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.2228, allocations: 71.8 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.2228, allocations: 11.98 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.2228, allocations: 41.64 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.223, allocations: 108.1 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.223, allocations: 0 / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.223, allocations: 0 / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.223, allocations: 4 kB / 0.9025 GB, free: 61.39 MB / 0.6042 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.0005503/0.2236, allocations: 446.5 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2237, allocations: 8.031 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.2237, allocations: 30.56 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.2237, allocations: 11.86 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2238, allocations: 178.9 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.2239, allocations: 4 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.2239, allocations: 8 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.2241, allocations: 93.56 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2241, allocations: 0 / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2241, allocations: 4 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2242, allocations: 0 / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.2243, allocations: 51.91 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.2248, allocations: 332.6 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.225, allocations: 70.55 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.225, allocations: 4.141 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.2252, allocations: 103.4 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.644e-06/0.2252, allocations: 0 / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004214/0.2256, allocations: 193.4 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2257, allocations: 59.41 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.2258, allocations: 125.8 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2258, allocations: 33.7 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.2258, allocations: 96.27 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.2258, allocations: 11.81 kB / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.2259, allocations: 4 kB / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.2259, allocations: 322.8 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.226, allocations: 31.98 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.2261, allocations: 69.98 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.2262, allocations: 51.91 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2262, allocations: 0 / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002078/0.2264, allocations: 138 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2264, allocations: 8 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2264, allocations: 4 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.2265, allocations: 3.984 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.2266, allocations: 23.88 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2266, allocations: 11.94 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.2266, allocations: 19.83 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2267, allocations: 4 kB / 0.905 GB, free: 58.63 MB / 0.6042 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 8.391e-05/0.2268, allocations: 132.8 kB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.2268, allocations: 3.906 kB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.2268, allocations: 16.36 kB / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2268, allocations: 0 / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2268, allocations: 0 / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2268, allocations: 3.953 kB / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.2273, allocations: 438.4 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2273, allocations: 4 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.2273, allocations: 4 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2273, allocations: 0 / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2273, allocations: 7.984 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2273, allocations: 7.891 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2274, allocations: 0 / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.2276, allocations: 255.3 kB / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.2277, allocations: 85.02 kB / 0.9059 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.2277, allocations: 0 / 0.9059 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.2278, allocations: 11.98 kB / 0.9059 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.2278, allocations: 7.953 kB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2279, allocations: 7.984 kB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.2279, allocations: 97.89 kB / 0.906 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2279, allocations: 0 / 0.906 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002869/0.2282, allocations: 44 kB / 0.9061 GB, free: 57.43 MB / 0.6042 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.0007056/0.2289, allocations: 0.8594 MB / 0.9069 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.2291, allocations: 91.89 kB / 0.907 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2292, allocations: 4.312 kB / 0.907 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2293, allocations: 51.91 kB / 0.907 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.2295, allocations: 19.94 kB / 0.9071 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.2302, allocations: 1.367 MB / 0.9084 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.2303, allocations: 0.6965 MB / 0.9091 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.2304, allocations: 11.94 kB / 0.9091 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.2304, allocations: 23.42 kB / 0.9091 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of SimCode: time 4e-07/0.2304, allocations: 0 / 0.9091 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.2426, allocations: 2.638 MB / 0.9117 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.2427, allocations: 261.5 kB / 0.9119 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.853, allocations: 4 kB / 0.9119 GB, free: 51.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)