Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.0008079/0.0008078, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009156/0.0009157, allocations: 172.7 kB / 15.95 MB, free: 208 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.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.846/1.846, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005548/0.0005549, allocations: 15.72 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2591, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001957/0.2611, allocations: 1.212 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2626, allocations: 0.7299 MB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.2627, allocations: 3.938 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.2628, allocations: 3.984 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.135e-05/0.2629, allocations: 11.88 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.2635, allocations: 95.77 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.2636, allocations: 83.75 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.2637, allocations: 11.98 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2639, allocations: 31.92 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.264, allocations: 47.81 kB / 0.7896 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.264, allocations: 4 kB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.2642, allocations: 79.86 kB / 0.7897 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.2643, allocations: 23.91 kB / 0.7897 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.2643, allocations: 37.7 kB / 0.7897 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2646, allocations: 116 kB / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2646, allocations: 0 / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2646, allocations: 0 / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2646, allocations: 0 / 0.7898 GB, free: 9.328 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.0006736/0.2653, allocations: 438.5 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.2654, allocations: 16.02 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.673e-05/0.2654, allocations: 30.56 kB / 0.7903 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.2655, allocations: 11.91 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.2656, allocations: 182.8 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.2657, allocations: 11.92 kB / 0.7905 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2657, allocations: 8 kB / 0.7905 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.266, allocations: 81.64 kB / 0.7906 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.266, allocations: 0 / 0.7906 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.266, allocations: 3.984 kB / 0.7906 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.266, allocations: 4 kB / 0.7906 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.2662, allocations: 55.91 kB / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.2668, allocations: 320.8 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.267, allocations: 78.53 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2671, allocations: 44.88 kB / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2671, allocations: 0 / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.2674, allocations: 95.36 kB / 0.7911 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2674, allocations: 4 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004828/0.2679, allocations: 197.5 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.2679, allocations: 59.36 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.268, allocations: 129.7 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2681, allocations: 29.7 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.2681, allocations: 100.4 kB / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.2682, allocations: 23.69 kB / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.2682, allocations: 0 / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2683, allocations: 322.8 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.2684, allocations: 27.98 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2685, allocations: 85.27 kB / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.2686, allocations: 35.98 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2686, allocations: 4 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002732/0.2689, allocations: 141.3 kB / 0.7923 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.269, allocations: 11.94 kB / 0.7923 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.269, allocations: 0 / 0.7923 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.269, allocations: 11.92 kB / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.2691, allocations: 12.16 kB / 0.7923 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2691, allocations: 11.95 kB / 0.7923 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.2692, allocations: 11.98 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2692, allocations: 4 kB / 0.7923 GB, free: 6.516 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.0001077/0.2693, allocations: 126.4 kB / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.2694, allocations: 7.906 kB / 0.7924 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.2694, allocations: 12.36 kB / 0.7925 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2694, allocations: 8 kB / 0.7925 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2694, allocations: 0 / 0.7925 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2694, allocations: 3.953 kB / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.27, allocations: 438.3 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.27, allocations: 0 / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.2701, allocations: 4 kB / 0.7929 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2701, allocations: 4 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2701, allocations: 7.984 kB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.2701, allocations: 3.953 kB / 0.7929 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2701, allocations: 4 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.2705, allocations: 251.4 kB / 0.7931 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.2706, allocations: 85.02 kB / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.2706, allocations: 4 kB / 0.7932 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.2707, allocations: 7.984 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.2708, allocations: 7.953 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2708, allocations: 11.92 kB / 0.7933 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.2709, allocations: 98.64 kB / 0.7934 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.502e-06/0.2709, allocations: 0 / 0.7934 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003379/0.2712, allocations: 44.12 kB / 0.7934 GB, free: 5.312 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.000975/0.2722, allocations: 0.8526 MB / 0.7942 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.2725, allocations: 95.89 kB / 0.7943 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2725, allocations: 0 / 0.7943 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.2726, allocations: 55.91 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.0002946/0.2729, allocations: 18.97 kB / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2741, allocations: 0.6715 MB / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2744, allocations: 0.6887 MB / 0.7957 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.2744, allocations: 11.92 kB / 0.7957 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.2745, allocations: 27.36 kB / 0.7958 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2745, allocations: 0 / 0.7958 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.2895, allocations: 2.646 MB / 0.7983 GB, free: 348 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.2898, allocations: 247.5 kB / 0.7986 GB, free: 8 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.241, allocations: 0 / 0.7986 GB, free: 8 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: