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 2.071/2.071, allocations: 252 MB / 267.3 MB, free: 10.86 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.002367/0.002366, allocations: 176.8 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.163/3.163, 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.0009832/0.0009834, allocations: 89.98 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004927, allocations: 12.02 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3551, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001928/0.3571, allocations: 1.234 MB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3586, allocations: 0.7798 MB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.3587, allocations: 0 / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.3588, allocations: 0 / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.918e-05/0.3588, allocations: 19.8 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.3595, allocations: 111.8 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3597, allocations: 79.78 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3598, allocations: 11.98 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3599, allocations: 39.84 kB / 0.9031 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.36, allocations: 39.83 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3601, allocations: 4 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.3604, allocations: 95.84 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.3604, allocations: 19.97 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.3605, allocations: 57.5 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.3607, allocations: 147.9 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3608, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3608, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3608, allocations: 0 / 0.9035 GB, free: 60.73 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.000701/0.3615, allocations: 442.6 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3615, allocations: 12.03 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.3616, allocations: 38.75 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3616, allocations: 12.78 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3618, allocations: 184.1 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3618, allocations: 8.375 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.3618, allocations: 4.375 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.3621, allocations: 97.73 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3621, allocations: 0 / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3621, allocations: 4 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3622, allocations: 4 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.3623, allocations: 51.91 kB / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.3629, allocations: 324.7 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.3631, allocations: 66.55 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3633, allocations: 44.84 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.3633, allocations: 4.031 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.3636, allocations: 103.3 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.3636, allocations: 0 / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005384/0.3641, allocations: 189.5 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.3642, allocations: 59.55 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3643, allocations: 133.8 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3644, allocations: 33.7 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.3644, allocations: 92.34 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.3644, allocations: 15.81 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.3645, allocations: 4 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.3645, allocations: 327.1 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.3646, allocations: 27.98 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.735e-05/0.3647, allocations: 83.19 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.365, allocations: 113.9 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.365, allocations: 7.938 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002733/0.3653, allocations: 149.3 kB / 0.906 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3653, allocations: 4 kB / 0.906 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3653, allocations: 3.938 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3653, allocations: 4 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.3655, allocations: 12 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3655, allocations: 7.984 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.3656, allocations: 16.09 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.3656, allocations: 8 kB / 0.906 GB, free: 57.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.3657, allocations: 123.8 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.3657, allocations: 11.91 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.3657, allocations: 12.36 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3658, allocations: 0 / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3658, allocations: 0 / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3658, allocations: 4.094 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.3663, allocations: 450.2 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3663, allocations: 0 / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.3664, allocations: 8 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3664, allocations: 3.984 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3664, allocations: 0 / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3664, allocations: 0 / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3664, allocations: 7.938 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.3667, allocations: 251.4 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.3668, allocations: 85.02 kB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3668, allocations: 0 / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3669, allocations: 11.98 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.367, allocations: 15.88 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.367, allocations: 7.984 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.3671, allocations: 98.45 kB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3671, allocations: 0 / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003266/0.3674, allocations: 43.92 kB / 0.9071 GB, free: 56.61 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 (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.0009361/0.3683, allocations: 0.8444 MB / 0.908 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.3686, allocations: 99.83 kB / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3686, allocations: 0 / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3688, allocations: 51.97 kB / 0.9081 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.3691, allocations: 19.39 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.3707, allocations: 1.634 MB / 0.9097 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.3709, allocations: 0.6965 MB / 0.9104 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.603e-05/0.3709, allocations: 4 kB / 0.9104 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.371, allocations: 23.42 kB / 0.9104 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.371, allocations: 4 kB / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.387, allocations: 2.675 MB / 0.913 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.3873, allocations: 274.9 kB / 0.9133 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/2.79, allocations: 3.938 kB / 0.9133 GB, free: 50.25 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)