Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.001174/0.001174, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.748/1.748, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.00071/0.0007102, allocations: 14.78 kB / 0.6738 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2891, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002175/0.2913, allocations: 1.215 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.293, allocations: 0.7338 MB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.2932, allocations: 0 / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.2932, allocations: 3.938 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2933, allocations: 15.86 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.294, allocations: 99.77 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2942, allocations: 79.77 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2943, allocations: 12 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2944, allocations: 39.83 kB / 0.7895 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.324e-05/0.2946, allocations: 31.91 kB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.2946, allocations: 4 kB / 0.7896 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.2948, allocations: 91.84 kB / 0.7897 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.2949, allocations: 15.91 kB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.295, allocations: 45.69 kB / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.2952, allocations: 108 kB / 0.7898 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2953, allocations: 4 kB / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2953, allocations: 0 / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2953, allocations: 0 / 0.7898 GB, free: 9.316 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008633/0.2961, allocations: 446.4 kB / 0.7903 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2962, allocations: 8.031 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.2963, allocations: 38.55 kB / 0.7903 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.2963, allocations: 11.91 kB / 0.7903 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2965, allocations: 174.9 kB / 0.7905 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.2965, allocations: 11.94 kB / 0.7905 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2966, allocations: 7.984 kB / 0.7905 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.2968, allocations: 93.52 kB / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2969, allocations: 0 / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2969, allocations: 0 / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2969, allocations: 0 / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.2971, allocations: 59.95 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.2977, allocations: 316.8 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2979, allocations: 74.58 kB / 0.791 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.298, allocations: 44.84 kB / 0.7911 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.298, allocations: 4.141 kB / 0.7911 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.2983, allocations: 99.36 kB / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.2983, allocations: 0 / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005059/0.2988, allocations: 189.5 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.2989, allocations: 59.36 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.299, allocations: 133.7 kB / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.2991, allocations: 33.7 kB / 0.7916 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.2991, allocations: 92.36 kB / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2992, allocations: 23.69 kB / 0.7917 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.2992, allocations: 4 kB / 0.7917 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002909/0.2995, allocations: 318.8 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.2996, allocations: 31.98 kB / 0.792 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.2997, allocations: 74.36 kB / 0.7921 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2998, allocations: 43.97 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2998, allocations: 4 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002775/0.3001, allocations: 141.3 kB / 0.7923 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3001, allocations: 7.938 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3001, allocations: 8 kB / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3002, allocations: 0 / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3003, allocations: 24.14 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3003, allocations: 7.953 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.3004, allocations: 11.98 kB / 0.7923 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3004, allocations: 4 kB / 0.7923 GB, free: 6.504 MB / 0.6075 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 0.0001438/0.3006, allocations: 130.4 kB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.3006, allocations: 7.906 kB / 0.7924 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.3006, allocations: 12.36 kB / 0.7925 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3007, allocations: 4 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3007, allocations: 0 / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3007, allocations: 7.891 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.3013, allocations: 438.3 kB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3013, allocations: 0 / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.3014, allocations: 4 kB / 0.7929 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3014, allocations: 4 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3014, allocations: 3.984 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3014, allocations: 7.891 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3014, allocations: 4 kB / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.3018, allocations: 247.4 kB / 0.7931 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.302, allocations: 89.02 kB / 0.7932 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.302, allocations: 0 / 0.7932 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.3021, allocations: 7.984 kB / 0.7932 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.3022, allocations: 11.95 kB / 0.7933 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3022, allocations: 7.984 kB / 0.7933 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.3022, allocations: 94.27 kB / 0.7933 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3022, allocations: 4 kB / 0.7934 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003566/0.3026, allocations: 40.17 kB / 0.7934 GB, free: 5.305 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: 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.001265/0.3039, allocations: 0.8587 MB / 0.7942 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.3042, allocations: 91.83 kB / 0.7943 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3042, allocations: 0 / 0.7943 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3043, allocations: 48.3 kB / 0.7944 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3047, allocations: 24.22 kB / 0.7944 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3061, allocations: 0.6695 MB / 0.795 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3064, allocations: 0.6887 MB / 0.7957 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.974e-05/0.3065, allocations: 4 kB / 0.7957 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.3066, allocations: 23.42 kB / 0.7957 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.3066, allocations: 0 / 0.7957 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.3245, allocations: 2.646 MB / 0.7983 GB, free: 356 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.3248, allocations: 250.8 kB / 0.7986 GB, free: 12 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.229, allocations: 0 / 0.7986 GB, free: 12 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) Environment - environmentSimulation: