Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.295/4.295, allocations: 433.2 MB / 440.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.294e-05, allocations: 2 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2424, allocations: 98.73 MB / 0.6289 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.4747, allocations: 125.9 MB / 0.7518 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.4751, allocations: 83.95 kB / 0.7519 GB, free: 10.94 MB / 0.6355 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.01624/0.4914, allocations: 3.369 MB / 0.7552 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4914, allocations: 0 / 0.7552 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.4914, allocations: 0 / 0.7552 GB, free: 7.555 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008323/0.4923, allocations: 477.6 kB / 0.7556 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4923, allocations: 8.031 kB / 0.7556 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.4924, allocations: 11.91 kB / 0.7556 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.4926, allocations: 175 kB / 0.7558 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.4926, allocations: 3.984 kB / 0.7558 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.4927, allocations: 4 kB / 0.7558 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/0.4928, allocations: 31.98 kB / 0.7558 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.493, allocations: 69.66 kB / 0.7559 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.493, allocations: 3.953 kB / 0.7559 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4931, allocations: 0 / 0.7559 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4931, allocations: 3.938 kB / 0.7559 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.4938, allocations: 313.2 kB / 0.7562 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.494, allocations: 63.17 kB / 0.7563 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.4941, allocations: 32.86 kB / 0.7563 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4942, allocations: 0 / 0.7563 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.4944, allocations: 83.33 kB / 0.7564 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.4944, allocations: 0 / 0.7564 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0006172/0.495, allocations: 129.6 kB / 0.7565 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4951, allocations: 59.39 kB / 0.7566 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.4952, allocations: 117.2 kB / 0.7567 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4953, allocations: 29.7 kB / 0.7567 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.4953, allocations: 88.3 kB / 0.7568 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.4954, allocations: 35.62 kB / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.4954, allocations: 0 / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4955, allocations: 318.8 kB / 0.7571 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.4956, allocations: 16 kB / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.62e-05/0.4957, allocations: 62 kB / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.142e-05/0.4958, allocations: 27.92 kB / 0.7572 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4958, allocations: 0 / 0.7572 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002462/0.4961, allocations: 97.52 kB / 0.7573 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.4961, allocations: 4 kB / 0.7573 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4961, allocations: 8.078 kB / 0.7573 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4962, allocations: 8 kB / 0.7573 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4963, allocations: 15.98 kB / 0.7574 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.4964, allocations: 0 / 0.7574 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4965, allocations: 8 kB / 0.7574 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.4965, allocations: 8 kB / 0.7574 GB, free: 5.051 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: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001137/0.4967, allocations: 110.6 kB / 0.7575 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005264/0.4972, allocations: 129.5 kB / 0.7576 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.4973, allocations: 15.86 kB / 0.7576 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.4973, allocations: 12.62 kB / 0.7576 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4973, allocations: 3.984 kB / 0.7576 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4973, allocations: 0 / 0.7576 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4974, allocations: 0 / 0.7576 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007713/0.4981, allocations: 395.1 kB / 0.758 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4982, allocations: 0 / 0.758 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.4982, allocations: 8 kB / 0.758 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.4983, allocations: 7.938 kB / 0.758 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4983, allocations: 3.984 kB / 0.758 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4983, allocations: 0 / 0.758 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4983, allocations: 4.078 kB / 0.758 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.4989, allocations: 227.4 kB / 0.7583 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.4989, allocations: 96.84 kB / 0.7583 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.499, allocations: 0 / 0.7583 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.4992, allocations: 15.98 kB / 0.7584 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.4992, allocations: 12.02 kB / 0.7584 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.4993, allocations: 0 / 0.7584 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.4994, allocations: 103.2 kB / 0.7585 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4994, allocations: 0 / 0.7585 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005434/0.4999, allocations: 55.98 kB / 0.7585 GB, free: 3.785 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: 7 (ac.sampleTrigger,$whenCondition1,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001364/0.5013, allocations: 0.8478 MB / 0.7594 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.5016, allocations: 67.91 kB / 0.7594 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5016, allocations: 384 / 0.7594 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.5017, allocations: 36 kB / 0.7595 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.502, allocations: 11.98 kB / 0.7595 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.5028, allocations: 165.9 kB / 0.7596 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.5031, allocations: 0.7039 MB / 0.7603 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.82e-05/0.5031, allocations: 7.781 kB / 0.7603 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.5032, allocations: 31.42 kB / 0.7603 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/0.5032, allocations: 0 / 0.7603 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0394/0.5426, allocations: 2.707 MB / 0.763 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/0.543, allocations: 203.7 kB / 0.7632 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.276, allocations: 0 / 0.7632 GB, free: 14.85 MB / 0.6511 GB