Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.562/2.562, allocations: 287.5 MB / 302.4 MB, free: 8.391 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.001376/0.001376, allocations: 172.5 kB / 371 MB, free: 10.85 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.245/2.245, allocations: 205.4 MB / 0.6297 GB, free: 10.55 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.001292/0.001291, allocations: 85.17 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006557/0.0006561, allocations: 10.81 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.224, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001819/0.2259, allocations: 1.176 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2275, allocations: 461.1 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.925e-05/0.2276, allocations: 3.938 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.2277, allocations: 0 / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.2278, allocations: 11.92 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.2281, allocations: 19.92 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.2283, allocations: 43.84 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2285, allocations: 4 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.2287, allocations: 27.91 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2288, allocations: 15.92 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2289, allocations: 7.938 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.2289, allocations: 0 / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.229, allocations: 11.92 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.2291, allocations: 37.7 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2292, allocations: 32.17 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2292, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2293, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2293, allocations: 0 / 0.9802 GB, free: 26.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007562/0.23, allocations: 406.5 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/0.2301, allocations: 11.97 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.2302, allocations: 34.55 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.2303, allocations: 11.95 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2305, allocations: 170.9 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.2306, allocations: 4 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.2306, allocations: 4 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.2311, allocations: 61.67 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2312, allocations: 3.984 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.2312, allocations: 3.984 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2312, allocations: 4 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.2317, allocations: 39.97 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.2324, allocations: 284.8 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.2327, allocations: 42.56 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.2329, allocations: 36.92 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.233, allocations: 0 / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/0.2333, allocations: 75.39 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 3.828e-06/0.2334, allocations: 0 / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0009828/0.2344, allocations: 133.4 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.2345, allocations: 55.41 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2346, allocations: 118 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.2347, allocations: 25.7 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.2348, allocations: 84.14 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.2348, allocations: 15.81 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.2349, allocations: 0 / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.235, allocations: 326.8 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.2352, allocations: 12 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.2354, allocations: 60.14 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.2356, allocations: 28 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2357, allocations: 384 / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005408/0.2362, allocations: 93.69 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.2363, allocations: 13.66 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2363, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.2364, allocations: 7.938 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.2366, allocations: 7.953 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2366, allocations: 4 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.2367, allocations: 12.23 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2368, allocations: 8 kB / 0.9824 GB, free: 23.96 MB / 0.6198 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 ($PRE.bli.blindState,bli.blindState,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 (7): * Single equations (assignments): 7 * 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.0001207/0.2369, allocations: 121.8 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.2369, allocations: 7.906 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.237, allocations: 3.969 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.237, allocations: 0 / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.956e-06/0.237, allocations: 3.953 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.2371, allocations: 3.984 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.2378, allocations: 358.5 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2378, allocations: 0 / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.238, allocations: 4 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.238, allocations: 0 / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.238, allocations: 3.953 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2381, allocations: 0 / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2381, allocations: 4 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.2387, allocations: 199.4 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.2387, allocations: 85 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2388, allocations: 4 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.239, allocations: 11.95 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.2391, allocations: 7.984 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2391, allocations: 0 / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.011e-05/0.2392, allocations: 91.27 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.11e-07/0.2392, allocations: 0 / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005554/0.2398, allocations: 12 kB / 0.9832 GB, free: 22.96 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: 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 (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.0008507/0.2407, allocations: 0.7205 MB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.2412, allocations: 67.91 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.2412, allocations: 0 / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2414, allocations: 40.03 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.242, allocations: 7.953 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.2438, allocations: 0.5366 MB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.244, allocations: 0.6809 MB / 0.9852 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.34e-05/0.2441, allocations: 8 kB / 0.9852 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.2442, allocations: 19.42 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of SimCode: time 8.106e-06/0.2442, allocations: 0 / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.2684, allocations: 1.371 MB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.2688, allocations: 217.4 kB / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/2.854, allocations: 6.5 kB / 0.9868 GB, free: 19.34 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)