Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.166/4.166, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.68e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7335, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.9798, allocations: 125.8 MB / 0.7517 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.9801, allocations: 83.94 kB / 0.7518 GB, free: 1.672 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.9947, allocations: 2.988 MB / 0.7547 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9947, allocations: 4 kB / 0.7547 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.9948, allocations: 0 / 0.7547 GB, free: 14.68 MB / 0.6355 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.000748/0.9955, allocations: 445.7 kB / 0.7552 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.9956, allocations: 8.031 kB / 0.7552 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.9957, allocations: 15.84 kB / 0.7552 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.9958, allocations: 171 kB / 0.7554 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.9959, allocations: 8 kB / 0.7554 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.9959, allocations: 7.938 kB / 0.7554 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000142/0.9961, allocations: 31.94 kB / 0.7554 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.9963, allocations: 73.64 kB / 0.7555 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.9963, allocations: 0 / 0.7555 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.9964, allocations: 4 kB / 0.7555 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.9964, allocations: 4 kB / 0.7555 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.9971, allocations: 293.2 kB / 0.7558 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.9973, allocations: 62.59 kB / 0.7558 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/0.9974, allocations: 39.28 kB / 0.7559 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.9975, allocations: 3.984 kB / 0.7559 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.9977, allocations: 83.31 kB / 0.7559 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.9977, allocations: 0 / 0.7559 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004879/0.9982, allocations: 141.4 kB / 0.7561 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.9983, allocations: 51.41 kB / 0.7561 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.9984, allocations: 117 kB / 0.7562 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.9985, allocations: 33.7 kB / 0.7563 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.9986, allocations: 88.38 kB / 0.7564 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.9986, allocations: 27.64 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.9986, allocations: 0 / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9988, allocations: 318.8 kB / 0.7567 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.9989, allocations: 20 kB / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.999, allocations: 69.89 kB / 0.7568 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/0.9991, allocations: 27.97 kB / 0.7568 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.9991, allocations: 0 / 0.7568 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002888/0.9994, allocations: 101.6 kB / 0.7569 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.9994, allocations: 12.03 kB / 0.7569 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.9995, allocations: 0 / 0.7569 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.9995, allocations: 7.984 kB / 0.7569 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.9997, allocations: 12 kB / 0.7569 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.9997, allocations: 7.938 kB / 0.7569 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.9998, allocations: 11.94 kB / 0.7569 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.9999, allocations: 8 kB / 0.7569 GB, free: 12.18 MB / 0.6355 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,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete 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.0001248/1, allocations: 112 kB / 0.7571 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003958/1, allocations: 133.5 kB / 0.7572 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/1, allocations: 11.89 kB / 0.7572 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/1.001, allocations: 8.625 kB / 0.7572 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.001, allocations: 11.89 kB / 0.7572 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.001, allocations: 192 / 0.7572 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.001, allocations: 0 / 0.7572 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/1.001, allocations: 394.9 kB / 0.7576 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/1.001, allocations: 0 / 0.7576 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/1.001, allocations: 8 kB / 0.7576 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/1.001, allocations: 0 / 0.7576 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.001, allocations: 7.938 kB / 0.7576 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.001, allocations: 4 kB / 0.7576 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.002, allocations: 4 kB / 0.7576 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/1.002, allocations: 223.4 kB / 0.7578 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/1.002, allocations: 85 kB / 0.7579 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/1.002, allocations: 4 kB / 0.7579 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.002, allocations: 15.95 kB / 0.7579 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/1.002, allocations: 7.922 kB / 0.7579 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/1.002, allocations: 7.984 kB / 0.7579 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.254e-05/1.002, allocations: 91.28 kB / 0.758 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.002, allocations: 0 / 0.758 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004951/1.003, allocations: 55.92 kB / 0.7581 GB, free: 10.93 MB / 0.6355 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,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * 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.001231/1.004, allocations: 0.8219 MB / 0.7589 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002967/1.005, allocations: 68.12 kB / 0.7589 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.005, allocations: 4.125 kB / 0.759 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.005, allocations: 43.92 kB / 0.759 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/1.005, allocations: 15.94 kB / 0.759 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/1.006, allocations: 165.9 kB / 0.7592 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/1.006, allocations: 0.6963 MB / 0.7598 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.487e-05/1.006, allocations: 8 kB / 0.7599 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/1.006, allocations: 23.42 kB / 0.7599 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/1.006, allocations: 0 / 0.7599 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04648/1.053, allocations: 2.496 MB / 0.7623 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003434/1.053, allocations: 207.8 kB / 0.7625 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.649, allocations: 0 / 0.7625 GB, free: 6.262 MB / 0.6355 GB