Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.792/1.792, allocations: 288.4 MB / 303.3 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 181.4 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.6307 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008261/0.0008259, allocations: 97.25 kB / 0.744 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005228, allocations: 14.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2558, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002077/0.2579, allocations: 1.195 MB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2593, allocations: 0.746 MB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.2594, allocations: 4 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.2594, allocations: 3.938 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.2595, allocations: 7.875 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.2601, allocations: 107.8 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.2603, allocations: 75.77 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2604, allocations: 15.98 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2605, allocations: 27.92 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.2606, allocations: 47.81 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.2607, allocations: 4 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2609, allocations: 87.84 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.2609, allocations: 11.98 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.2609, allocations: 41.64 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2611, allocations: 108 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2612, allocations: 0 / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2612, allocations: 0 / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2612, allocations: 4 kB / 0.9821 GB, free: 25.03 MB / 0.6198 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.0005307/0.2617, allocations: 450.4 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.2618, allocations: 12.03 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.2618, allocations: 30.56 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.2619, allocations: 7.906 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.262, allocations: 184.8 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.262, allocations: 8 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.262, allocations: 4 kB / 0.9827 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.2622, allocations: 97.62 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2623, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2623, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2623, allocations: 4 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.2625, allocations: 51.91 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.263, allocations: 324.8 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.2632, allocations: 70.53 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.2633, allocations: 48.84 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.2633, allocations: 4.031 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.2635, allocations: 103.3 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2635, allocations: 0 / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000457/0.264, allocations: 193.5 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.264, allocations: 63.34 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.2641, allocations: 125.8 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2641, allocations: 29.7 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.2642, allocations: 92.36 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.2642, allocations: 19.75 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.2642, allocations: 4 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.2643, allocations: 326.8 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.2644, allocations: 23.98 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/0.2645, allocations: 84.03 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.087e-05/0.2646, allocations: 35.98 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2646, allocations: 4 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002306/0.2648, allocations: 145.3 kB / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2648, allocations: 13.81 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2649, allocations: 0 / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2649, allocations: 4 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.265, allocations: 15.94 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.265, allocations: 11.94 kB / 0.9845 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.2651, allocations: 4.156 kB / 0.9845 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2651, allocations: 12 kB / 0.9846 GB, free: 22.22 MB / 0.6198 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 7.822e-05/0.2652, allocations: 125.7 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.2652, allocations: 7.906 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.2652, allocations: 12.36 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2653, allocations: 4 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.2653, allocations: 0 / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2653, allocations: 3.953 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.2657, allocations: 446.8 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2657, allocations: 0 / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.2658, allocations: 7.984 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2658, allocations: 0 / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2658, allocations: 4 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2658, allocations: 3.953 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2658, allocations: 0 / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.2661, allocations: 251.4 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.2662, allocations: 81.02 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2662, allocations: 8 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.2663, allocations: 7.984 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.2663, allocations: 11.95 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2664, allocations: 3.984 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.2664, allocations: 101 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2664, allocations: 3.938 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003003/0.2667, allocations: 43.98 kB / 0.9856 GB, free: 21.02 MB / 0.6198 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.0007571/0.2675, allocations: 0.8593 MB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.2677, allocations: 99.89 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2678, allocations: 0 / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.2679, allocations: 47.92 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2682, allocations: 15.94 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2692, allocations: 0.6654 MB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.2694, allocations: 0.6933 MB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.435e-05/0.2694, allocations: 4 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.2695, allocations: 23.42 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2695, allocations: 0 / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.2833, allocations: 2.67 MB / 0.9906 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.2835, allocations: 259.8 kB / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2, allocations: 0 / 0.9908 GB, free: 15.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)