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.001698/0.001698, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00226/0.00226, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.158/3.158, allocations: 205.4 MB / 222.1 MB, free: 5.672 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 3.161/3.161, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0009369/0.000937, allocations: 11.81 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4322, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003371/0.4356, allocations: 1.204 MB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.4379, allocations: 0.7377 MB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/0.4381, allocations: 0 / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.4381, allocations: 3.938 kB / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.4383, allocations: 19.97 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.4392, allocations: 99.69 kB / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.4394, allocations: 51.94 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.4396, allocations: 11.97 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.4398, allocations: 35.86 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.4399, allocations: 51.81 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.44, allocations: 4 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.4402, allocations: 59.89 kB / 0.7894 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.4403, allocations: 19.95 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.4404, allocations: 41.64 kB / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.4407, allocations: 108 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4407, allocations: 0 / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.487e-06/0.4407, allocations: 0 / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4407, allocations: 0 / 0.7896 GB, free: 9.379 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.00103/0.4418, allocations: 454.4 kB / 0.79 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.4418, allocations: 8.031 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.375e-05/0.4419, allocations: 38.55 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.442, allocations: 7.906 kB / 0.7901 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.4422, allocations: 178.9 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.4423, allocations: 15.91 kB / 0.7903 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.4423, allocations: 8 kB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.4427, allocations: 89.58 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4427, allocations: 4 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.4428, allocations: 3.984 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4428, allocations: 0 / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.443, allocations: 51.97 kB / 0.7904 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.4439, allocations: 320.7 kB / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.4441, allocations: 66.55 kB / 0.7908 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.4442, allocations: 0 / 0.7908 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.4446, allocations: 103.5 kB / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.4446, allocations: 0 / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0008195/0.4454, allocations: 193.5 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.4455, allocations: 63.34 kB / 0.7911 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.4457, allocations: 129.7 kB / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.4458, allocations: 33.7 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/0.4459, allocations: 92.38 kB / 0.7914 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.4459, allocations: 19.73 kB / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.446, allocations: 4 kB / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.4462, allocations: 318.8 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4463, allocations: 31.98 kB / 0.7917 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.4465, allocations: 73.98 kB / 0.7918 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.4467, allocations: 43.94 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4467, allocations: 3.984 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004328/0.4471, allocations: 137.3 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.4472, allocations: 4 kB / 0.792 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4472, allocations: 4 kB / 0.792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4472, allocations: 4.531 kB / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.4474, allocations: 19.92 kB / 0.792 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.4474, allocations: 4 kB / 0.792 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4475, allocations: 15.95 kB / 0.792 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.4476, allocations: 15.86 kB / 0.7921 GB, free: 6.609 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.0001676/0.4478, allocations: 121.8 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.4478, allocations: 7.906 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.4479, allocations: 16.31 kB / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4479, allocations: 0 / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4479, allocations: 0 / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.4479, allocations: 3.984 kB / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.4488, allocations: 442.4 kB / 0.7926 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4488, allocations: 4 kB / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.4489, allocations: 15.98 kB / 0.7926 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.4489, allocations: 0 / 0.7926 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.4489, allocations: 3.984 kB / 0.7926 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4489, allocations: 0 / 0.7926 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.449, allocations: 3.953 kB / 0.7926 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.4495, allocations: 251.4 kB / 0.7929 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.4496, allocations: 85.02 kB / 0.793 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.4497, allocations: 4 kB / 0.793 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.4498, allocations: 7.984 kB / 0.793 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.4499, allocations: 7.953 kB / 0.793 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.45, allocations: 7.984 kB / 0.793 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.791e-05/0.4501, allocations: 98.89 kB / 0.7931 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.4501, allocations: 0 / 0.7931 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000578/0.4507, allocations: 44 kB / 0.7931 GB, free: 5.41 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.001349/0.452, allocations: 0.8458 MB / 0.794 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.4524, allocations: 95.83 kB / 0.794 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4524, allocations: 0 / 0.794 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.4526, allocations: 56.22 kB / 0.7941 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.453, allocations: 15.98 kB / 0.7941 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.4548, allocations: 1.357 MB / 0.7954 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.4553, allocations: 0.6965 MB / 0.7961 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.623e-05/0.4554, allocations: 8.266 kB / 0.7961 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.4555, allocations: 27.44 kB / 0.7962 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.4555, allocations: 0 / 0.7962 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.4832, allocations: 2.607 MB / 0.7987 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003957/0.4836, allocations: 251.7 kB / 0.7989 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/3.572, allocations: 0 / 0.7989 GB, free: 15.5 MB / 0.6231 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: