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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001013/0.001012, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009405/0.0009406, allocations: 192 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437.1 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6798, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002643/0.6825, allocations: 1.209 MB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.6836, allocations: 406.6 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.6836, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.6837, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.6837, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.6844, allocations: 99.64 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.6845, allocations: 7.984 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.6845, allocations: 4 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.6846, allocations: 8 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.6846, allocations: 11.92 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.6846, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.6849, allocations: 95.83 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.6849, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.6849, allocations: 15.92 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.6851, allocations: 75.89 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6852, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6852, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.577e-06/0.6852, allocations: 0 / 1.019 GB, free: 0.5 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.0005273/0.6857, allocations: 355.4 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6858, allocations: 8.031 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/0.6858, allocations: 34.73 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.6859, allocations: 8.875 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.686, allocations: 166.6 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.686, allocations: 384 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.6861, allocations: 4.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.6862, allocations: 42.25 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6862, allocations: 3.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.6862, allocations: 7.984 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6862, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.6863, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.6867, allocations: 256.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.6868, allocations: 34.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.6868, allocations: 16.86 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.6868, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.6871, allocations: 59.48 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.6871, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002358/0.6873, allocations: 73.62 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.6874, allocations: 55.41 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.6875, allocations: 97.84 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.6875, allocations: 33.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.6875, allocations: 80.14 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.6876, allocations: 11.75 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.6876, allocations: 29.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6878, allocations: 310.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.6878, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.664e-05/0.6878, allocations: 39.55 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.238e-05/0.6879, allocations: 47.38 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6879, allocations: 4.188 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001267/0.6881, allocations: 81.58 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6881, allocations: 11.94 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.6881, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6881, allocations: 4.062 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.6882, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.6882, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.6883, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.6883, allocations: 4 kB / 1.021 GB, free: 14.37 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 0.0001129/0.6884, allocations: 117.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.6884, allocations: 3.906 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.6885, allocations: 3.562 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6885, allocations: 7.875 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.6885, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6885, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.6888, allocations: 302.6 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.6888, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.6888, allocations: 4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.6888, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6888, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6889, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6889, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.689, allocations: 171.4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.6891, allocations: 77.11 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.6891, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.6891, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.6892, allocations: 7.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.6892, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.6892, allocations: 83.28 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6892, allocations: 96 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002992/0.6895, allocations: 27.94 kB / 1.022 GB, free: 13.47 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.0007168/0.6903, allocations: 0.7758 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.6904, allocations: 47.86 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6904, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.6905, allocations: 12 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.6907, allocations: 10.41 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.6918, allocations: 1.254 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.692, allocations: 0.6768 MB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.692, allocations: 4 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.6921, allocations: 11.42 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6921, allocations: 4 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.7097, allocations: 1.878 MB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.813, allocations: 9.812 kB / 1.026 GB, free: 8.785 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