Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",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.001331/0.001331, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001609/0.001609, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.106/3.106, allocations: 205.4 MB / 222.1 MB, free: 5.52 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 3.098/3.098, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0008537/0.0008539, allocations: 14.19 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4725, allocations: 116.3 MB / 0.7872 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002472/0.475, allocations: 0.9259 MB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.4764, allocations: 378.8 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.4765, allocations: 3.938 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.4765, allocations: 4 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.4766, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.4774, allocations: 71.8 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.4775, allocations: 7.984 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.4776, allocations: 0 / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.4777, allocations: 11.92 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.4778, allocations: 8 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.4778, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.4781, allocations: 67.86 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.4781, allocations: 7.938 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.4782, allocations: 25.7 kB / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.4784, allocations: 63.91 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4784, allocations: 0 / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.687e-06/0.4784, allocations: 0 / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4784, allocations: 0 / 0.7887 GB, free: 10.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007686/0.4792, allocations: 335.7 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.653e-05/0.4793, allocations: 8.031 kB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.4794, allocations: 38.47 kB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.4795, allocations: 8 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.4797, allocations: 171 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4797, allocations: 0 / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.4798, allocations: 7.938 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.48, allocations: 49.66 kB / 0.7893 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.48, allocations: 3.938 kB / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.48, allocations: 0 / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.48, allocations: 0 / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.4801, allocations: 4 kB / 0.7893 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.4807, allocations: 256.9 kB / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.4808, allocations: 30.56 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.4809, allocations: 4 kB / 0.7896 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.4811, allocations: 55.44 kB / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.4811, allocations: 0 / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003071/0.4814, allocations: 81.58 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.4815, allocations: 51.41 kB / 0.7898 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4817, allocations: 97.84 kB / 0.7899 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.4817, allocations: 29.7 kB / 0.7899 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.4818, allocations: 84.08 kB / 0.79 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.4819, allocations: 11.91 kB / 0.79 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.4819, allocations: 0 / 0.79 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.4821, allocations: 314.8 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.4821, allocations: 20.05 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.279e-05/0.4822, allocations: 31.44 kB / 0.7904 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.4823, allocations: 15.98 kB / 0.7904 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4823, allocations: 0 / 0.7904 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001582/0.4825, allocations: 69.53 kB / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4825, allocations: 8 kB / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.4825, allocations: 4.062 kB / 0.7905 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4826, allocations: 0 / 0.7905 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4827, allocations: 15.92 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.4827, allocations: 4 kB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.4827, allocations: 3.938 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.4828, allocations: 4 kB / 0.7905 GB, free: 8.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001478/0.4829, allocations: 113.8 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.4829, allocations: 4 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.483, allocations: 7.562 kB / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.483, allocations: 0 / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.483, allocations: 0 / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.483, allocations: 7.922 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.4834, allocations: 302.5 kB / 0.7909 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4835, allocations: 0 / 0.7909 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.4835, allocations: 4.312 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4835, allocations: 0 / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.4835, allocations: 4 kB / 0.7909 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4835, allocations: 0 / 0.7909 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.4835, allocations: 7.984 kB / 0.7909 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.4838, allocations: 167.3 kB / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.4839, allocations: 85.19 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4839, allocations: 0 / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.484, allocations: 3.984 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.484, allocations: 0 / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.484, allocations: 4 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.547e-05/0.4841, allocations: 83.28 kB / 0.7912 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4841, allocations: 0 / 0.7912 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004421/0.4846, allocations: 31.98 kB / 0.7913 GB, free: 7.402 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001147/0.4857, allocations: 0.7686 MB / 0.792 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.4859, allocations: 35.92 kB / 0.7921 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4859, allocations: 0 / 0.7921 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.486, allocations: 11.94 kB / 0.7921 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.4862, allocations: 8 kB / 0.7921 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.4879, allocations: 0.79 MB / 0.7928 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.4885, allocations: 0.6809 MB / 0.7935 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.16e-05/0.4885, allocations: 4 kB / 0.7935 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.4886, allocations: 15.44 kB / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.4886, allocations: 0 / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3116/0.8002, allocations: 1.65 MB / 0.7951 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004012/0.8008, allocations: 243.5 kB / 0.7954 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/3.909, allocations: 0 / 0.7954 GB, free: 3.273 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) Environment - environmentSimulation: