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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 196.6 kB / 16.64 MB, free: 6.453 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001437/0.001437, allocations: 74.38 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2292, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002875/0.2321, allocations: 1.472 MB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.2329, allocations: 488.8 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.233, allocations: 0 / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.233, allocations: 3.938 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.2331, allocations: 19.81 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.2332, allocations: 27.91 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.409e-05/0.2333, allocations: 47.84 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.2334, allocations: 11.98 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.2335, allocations: 23.92 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.2336, allocations: 23.86 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2336, allocations: 4 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.2336, allocations: 4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.2336, allocations: 15.98 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.2337, allocations: 19.86 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.758e-05/0.2338, allocations: 56.03 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2338, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2338, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2338, allocations: 0 / 0.7858 GB, free: 11.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004554/0.2343, allocations: 406.7 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2343, allocations: 12.03 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.2343, allocations: 34.75 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.2344, allocations: 12.84 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2345, allocations: 164.4 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2345, allocations: 4.375 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.2345, allocations: 4.375 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2347, allocations: 61.8 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2347, allocations: 3.938 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2347, allocations: 0 / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2348, allocations: 0 / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.2349, allocations: 39.97 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.2354, allocations: 288.7 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2355, allocations: 34.56 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.2357, allocations: 28.88 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.2357, allocations: 4 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.2359, allocations: 71.38 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.2359, allocations: 4 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003236/0.2362, allocations: 109.6 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2362, allocations: 51.41 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.2363, allocations: 125.6 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.2364, allocations: 29.7 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.2364, allocations: 92.12 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.2365, allocations: 3.906 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.2365, allocations: 21.72 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2367, allocations: 322.8 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.2367, allocations: 15.98 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.2368, allocations: 52.28 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.2369, allocations: 72.22 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2369, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001806/0.2371, allocations: 93.44 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2372, allocations: 4 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2372, allocations: 0 / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2372, allocations: 4 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.2373, allocations: 4 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2373, allocations: 12.09 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.2373, allocations: 7.984 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2374, allocations: 8 kB / 0.7879 GB, free: 8.59 MB / 0.6075 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 7.95e-05/0.2374, allocations: 125.7 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.2375, allocations: 3.906 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.2375, allocations: 7.969 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2375, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2375, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2375, allocations: 3.984 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.2379, allocations: 346.5 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2379, allocations: 0 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.238, allocations: 7.938 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.238, allocations: 0 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.238, allocations: 0 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.238, allocations: 7.938 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.238, allocations: 0 / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.2382, allocations: 188.1 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.2383, allocations: 81.09 kB / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.2383, allocations: 8 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.2384, allocations: 7.938 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2384, allocations: 11.91 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2384, allocations: 0 / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.2385, allocations: 95.27 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2385, allocations: 0 / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002294/0.2387, allocations: 12 kB / 0.7888 GB, free: 7.598 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: 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 0.000601/0.2393, allocations: 0.7191 MB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.2395, allocations: 55.91 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2396, allocations: 4 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.2396, allocations: 27.97 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.2399, allocations: 7.938 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2412, allocations: 1.406 MB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2415, allocations: 0.6807 MB / 0.7916 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.2415, allocations: 8 kB / 0.7916 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.2416, allocations: 23.36 kB / 0.7916 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2416, allocations: 0 / 0.7916 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2581, allocations: 1.607 MB / 0.7932 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.745, allocations: 6.719 kB / 0.7932 GB, free: 3.047 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)