Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 2.27/2.27, allocations: 252 MB / 267.3 MB, free: 10.8 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.001114/0.001114, allocations: 179 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.385/2.385, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008642/0.0008643, allocations: 84.12 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006596/0.0006598, allocations: 9.188 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3699, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002683/0.3727, allocations: 1.188 MB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3738, allocations: 499.3 kB / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.3739, allocations: 0 / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.374, allocations: 3.938 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.04e-05/0.3741, allocations: 3.938 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.3744, allocations: 23.98 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3746, allocations: 51.78 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.3748, allocations: 11.98 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.375, allocations: 15.92 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.3751, allocations: 19.92 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.3752, allocations: 0 / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.3752, allocations: 7.938 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.3752, allocations: 7.984 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.3753, allocations: 49.58 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3755, allocations: 47.8 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3755, allocations: 0 / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3755, allocations: 0 / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.3755, allocations: 0 / 0.9028 GB, free: 61.47 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006671/0.3762, allocations: 395.1 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.3763, allocations: 12.03 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.3763, allocations: 38.73 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3764, allocations: 12.84 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3765, allocations: 168.3 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.3766, allocations: 4.375 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3766, allocations: 4.375 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.3769, allocations: 65.8 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3769, allocations: 3.938 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.377, allocations: 0 / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.377, allocations: 0 / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.3772, allocations: 47.97 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.3778, allocations: 280.8 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.378, allocations: 46.56 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3781, allocations: 36.86 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3782, allocations: 7.984 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.3784, allocations: 71.39 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.994e-06/0.3785, allocations: 0 / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0005833/0.379, allocations: 121.6 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3791, allocations: 55.41 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3792, allocations: 121.7 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3793, allocations: 25.7 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.3794, allocations: 92.12 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3794, allocations: 11.84 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.3794, allocations: 0 / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.3795, allocations: 326.8 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.3796, allocations: 20 kB / 0.9047 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3797, allocations: 44.28 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.38, allocations: 80.2 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.38, allocations: 3.938 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002941/0.3803, allocations: 101.5 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3803, allocations: 8 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3803, allocations: 0 / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3804, allocations: 0 / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3805, allocations: 12.23 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3805, allocations: 8.531 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.3806, allocations: 8 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3807, allocations: 12.14 kB / 0.9049 GB, free: 59 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.3808, allocations: 121.7 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.3808, allocations: 3.906 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.3809, allocations: 11.97 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3809, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3809, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3809, allocations: 4 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.3814, allocations: 350.5 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3815, allocations: 0 / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.3815, allocations: 11.92 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3815, allocations: 4 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3816, allocations: 0 / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.3816, allocations: 3.938 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3816, allocations: 7.984 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.382, allocations: 195.4 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.382, allocations: 85.05 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.382, allocations: 4 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.3822, allocations: 11.92 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.3823, allocations: 7.984 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3823, allocations: 0 / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.3824, allocations: 87.28 kB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3824, allocations: 0 / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004309/0.3828, allocations: 12 kB / 0.9058 GB, free: 58 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: 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.0005889/0.3834, allocations: 0.7359 MB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.3837, allocations: 59.91 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3837, allocations: 4 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3839, allocations: 40.3 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3843, allocations: 17.89 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.3862, allocations: 1.424 MB / 0.908 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.3864, allocations: 0.6906 MB / 0.9087 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.059e-05/0.3865, allocations: 7.906 kB / 0.9087 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.3865, allocations: 17.11 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.3865, allocations: 0 / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.4035, allocations: 1.365 MB / 0.9101 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/0.4038, allocations: 244 kB / 0.9103 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.726, allocations: 2.406 kB / 0.9103 GB, free: 53.44 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)