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.Zhang2012BlindsSolarIntensity.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01225/0.01225, allocations: 111.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001769/0.001768, allocations: 185 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.276/2.276, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.572/2.572, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005393, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8652, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002249/0.8676, allocations: 1.194 MB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.8694, allocations: 0.7186 MB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.8696, allocations: 3.938 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.8696, allocations: 2.031 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.8697, allocations: 10.41 kB / 0.6853 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.8704, allocations: 105.8 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.8706, allocations: 54.69 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.8707, allocations: 6.969 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.8708, allocations: 37.55 kB / 0.6855 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.8709, allocations: 40.02 kB / 0.6855 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.871, allocations: 7.828 kB / 0.6856 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.8712, allocations: 62.16 kB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.8712, allocations: 33.09 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.8713, allocations: 37.12 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.8716, allocations: 99.06 kB / 0.6858 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8716, allocations: 0 / 0.6858 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8716, allocations: 5.094 kB / 0.6858 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.8716, allocations: 3.938 kB / 0.6858 GB, free: 15.22 MB / 0.5261 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.0006821/0.8723, allocations: 443.7 kB / 0.6862 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.8724, allocations: 13.94 kB / 0.6862 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.583e-05/0.8724, allocations: 33.47 kB / 0.6863 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.8725, allocations: 12.77 kB / 0.6863 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.8726, allocations: 177.8 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.8727, allocations: 3.266 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.8727, allocations: 9.25 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.873, allocations: 91.48 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.8731, allocations: 0 / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.8731, allocations: 1.984 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8731, allocations: 5.312 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.8734, allocations: 54.3 kB / 0.6866 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.8741, allocations: 317.3 kB / 0.6869 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.8744, allocations: 75.06 kB / 0.687 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.8744, allocations: 1.312 kB / 0.687 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.8748, allocations: 94.11 kB / 0.6871 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 3.146e-06/0.8748, allocations: 5.438 kB / 0.6871 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000837/0.8756, allocations: 195.6 kB / 0.6872 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.8757, allocations: 57.88 kB / 0.6873 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.8758, allocations: 122.4 kB / 0.6874 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.8759, allocations: 36.23 kB / 0.6875 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.8759, allocations: 101.1 kB / 0.6876 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.876, allocations: 24.41 kB / 0.6876 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.876, allocations: 4.969 kB / 0.6876 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.8761, allocations: 320.5 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.8763, allocations: 27.52 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.8764, allocations: 83.55 kB / 0.688 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.8766, allocations: 37.47 kB / 0.688 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8766, allocations: 0 / 0.688 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004473/0.8771, allocations: 151.5 kB / 0.6882 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.8771, allocations: 5.344 kB / 0.6882 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.8771, allocations: 2.812 kB / 0.6882 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.8772, allocations: 5.922 kB / 0.6882 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.8774, allocations: 16.69 kB / 0.6882 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.8774, allocations: 7.094 kB / 0.6882 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.8775, allocations: 14.77 kB / 0.6882 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.8776, allocations: 9.5 kB / 0.6882 GB, free: 13.12 MB / 0.5261 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.0001452/0.8777, allocations: 125.6 kB / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.8777, allocations: 7.25 kB / 0.6884 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.8778, allocations: 11.5 kB / 0.6884 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.8778, allocations: 1.156 kB / 0.6884 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.8778, allocations: 9.031 kB / 0.6884 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8778, allocations: 1.188 kB / 0.6884 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008421/0.8787, allocations: 430.7 kB / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.8787, allocations: 0 / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.8788, allocations: 6.25 kB / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8788, allocations: 1.406 kB / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.8789, allocations: 12.31 kB / 0.6888 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8789, allocations: 3.938 kB / 0.6888 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8789, allocations: 0 / 0.6888 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.8794, allocations: 253.2 kB / 0.6891 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.8795, allocations: 88.61 kB / 0.6891 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.8796, allocations: 10.11 kB / 0.6891 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.8797, allocations: 10.8 kB / 0.6892 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.8798, allocations: 5.953 kB / 0.6892 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.8798, allocations: 3.781 kB / 0.6892 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.424e-05/0.8799, allocations: 99.33 kB / 0.6893 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8799, allocations: 0 / 0.6893 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005358/0.8805, allocations: 40.83 kB / 0.6893 GB, free: 12.23 MB / 0.5261 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.001167/0.8816, allocations: 0.8524 MB / 0.6901 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.8822, allocations: 97.88 kB / 0.6902 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8822, allocations: 1.156 kB / 0.6902 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.8824, allocations: 46.25 kB / 0.6903 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.8828, allocations: 21.25 kB / 0.6903 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.884, allocations: 1.366 MB / 0.6916 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.8842, allocations: 0.6982 MB / 0.6923 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.602e-05/0.8843, allocations: 5.109 kB / 0.6923 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.8844, allocations: 30.17 kB / 0.6923 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of SimCode: time 1.512e-06/0.8844, allocations: 4 kB / 0.6923 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.9378, allocations: 2.645 MB / 0.6949 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003359/0.9383, allocations: 257.2 kB / 0.6952 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/3.673, allocations: 7.688 kB / 0.6952 GB, free: 8.766 MB / 0.5261 GB