Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_10_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.001233/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001204/0.001204, allocations: 192.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 71.88 kB / 0.8686 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5865, allocations: 151.6 MB / 1.017 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002237/0.5888, allocations: 1.28 MB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007321/0.5895, allocations: 398.8 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.5895, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.5896, allocations: 7.938 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.249e-05/0.5896, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.59, allocations: 79.86 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.37e-05/0.5901, allocations: 19.91 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.5901, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.5902, allocations: 11.94 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.067e-05/0.5902, allocations: 3.984 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.5902, allocations: 4 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.5904, allocations: 87.91 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.5904, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.5904, allocations: 11.94 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.5906, allocations: 83.75 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5906, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.31e-07/0.5906, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.5906, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 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.0003952/0.591, allocations: 347.5 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5911, allocations: 11.98 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.5911, allocations: 34.75 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.5911, allocations: 4.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/0.5912, allocations: 166.8 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.5913, allocations: 384 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.5913, allocations: 8.375 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.478e-05/0.5914, allocations: 42.23 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.5914, allocations: 7.875 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.5914, allocations: 7.938 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.5914, allocations: 0 / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.5914, allocations: 7.984 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.5917, allocations: 244.9 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.144e-05/0.5918, allocations: 38.52 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.5919, allocations: 20.94 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.5919, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.592, allocations: 59.34 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.592, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001745/0.5922, allocations: 77.67 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.5922, allocations: 51.41 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.5923, allocations: 93.86 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.5923, allocations: 29.69 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.5924, allocations: 92.08 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.5924, allocations: 15.69 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.5924, allocations: 21.72 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.5925, allocations: 319 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.5925, allocations: 8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.5926, allocations: 39.41 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.5927, allocations: 47.38 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5927, allocations: 3.938 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.5928, allocations: 77.61 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5928, allocations: 8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5928, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.5928, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.5929, allocations: 8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5929, allocations: 7.938 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.5929, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.5929, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.203e-05/0.593, allocations: 117.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.593, allocations: 11.91 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.593, allocations: 3.562 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5931, allocations: 4.078 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5931, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.5931, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.5933, allocations: 306.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5933, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.5933, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5933, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5934, allocations: 4.312 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.5934, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5934, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.5935, allocations: 163.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.5935, allocations: 81.11 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.5936, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/0.5936, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.5936, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.5936, allocations: 7.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.5937, allocations: 79.22 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5937, allocations: 3.938 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002636/0.594, allocations: 35.94 kB / 1.021 GB, free: 13.89 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005959/0.5946, allocations: 0.7586 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.195e-05/0.5947, allocations: 31.92 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5947, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.5947, allocations: 15.98 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.5949, allocations: 10.94 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.5958, allocations: 1.264 MB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.5961, allocations: 0.6809 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.5961, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.5961, allocations: 15.44 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5961, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.277/2.873, allocations: 1.75 MB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/2.874, allocations: 265.4 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/4.904, allocations: 4 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:mu,seed,time,y