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.0009785/0.0009787, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008209/0.008209, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.511/2.511, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 8 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/0.5386, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001131/0.5398, allocations: 0.9293 MB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007263/0.5405, allocations: 402.8 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.5405, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.5406, allocations: 4 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.863e-05/0.5406, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.541, allocations: 75.8 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.693e-05/0.541, allocations: 15.98 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.5411, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.5411, allocations: 15.92 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.266e-05/0.5411, allocations: 3.984 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.5412, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.5413, allocations: 91.84 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.5414, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.5414, allocations: 41.62 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.5416, allocations: 71.89 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5416, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.146e-06/0.5416, allocations: 3.984 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5416, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 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.0003585/0.5419, allocations: 347.5 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.542, allocations: 8.031 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.542, allocations: 30.75 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.5421, allocations: 12.94 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.202e-05/0.5422, allocations: 166.6 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.5422, allocations: 384 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.5422, allocations: 4.375 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.897e-05/0.5423, allocations: 46.19 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5423, allocations: 7.938 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.5423, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.5423, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.5424, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.5427, allocations: 241 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.367e-05/0.5427, allocations: 38.44 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.5428, allocations: 24.94 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.5428, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.5429, allocations: 59.31 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.5429, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001732/0.5431, allocations: 77.61 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.5431, allocations: 51.41 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.5432, allocations: 101.9 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.5432, allocations: 25.7 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.5433, allocations: 80.14 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.5433, allocations: 27.67 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.5433, allocations: 13.72 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.5434, allocations: 314.8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.5434, allocations: 11.98 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.5435, allocations: 31.56 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.5436, allocations: 55.36 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5436, allocations: 7.875 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.5437, allocations: 69.66 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5437, allocations: 4 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5437, allocations: 4 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.5437, allocations: 4.062 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/0.5438, allocations: 15.92 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5438, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.5438, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.5438, allocations: 0 / 1.027 GB, free: 12.13 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.474e-05/0.5439, allocations: 117.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.5439, allocations: 3.906 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.544, allocations: 7.547 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.544, allocations: 8 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.544, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.544, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.5442, allocations: 306.5 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5442, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.5442, allocations: 320 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5443, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5443, allocations: 7.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5443, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5443, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.5444, allocations: 167.4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.5444, allocations: 77.11 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.5445, allocations: 7.984 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.5445, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.5445, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.5446, allocations: 4 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.5446, allocations: 79.28 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5446, allocations: 4.094 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002702/0.5449, allocations: 31.92 kB / 1.027 GB, free: 11.22 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.0006049/0.5455, allocations: 0.7701 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.5456, allocations: 39.92 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5456, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.5456, allocations: 11.94 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.5458, allocations: 11.94 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.5467, allocations: 1.248 MB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.547, allocations: 0.677 MB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.547, allocations: 7.984 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.547, allocations: 7.531 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.547, allocations: 3.938 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.437/1.984, allocations: 1.67 MB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/1.985, allocations: 269.1 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/4.292, allocations: 0 / 1.032 GB, free: 6.453 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