Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_11_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.003721/0.003721, allocations: 100.5 kB / 15.73 MB, free: 6.062 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.001097/0.001097, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 59.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6028, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002082/0.605, allocations: 1.204 MB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007513/0.6057, allocations: 394.7 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.6058, allocations: 0 / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.6058, allocations: 0 / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.361e-05/0.6058, allocations: 3.938 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.6063, allocations: 99.7 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.039e-05/0.6064, allocations: 19.92 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.6064, allocations: 0 / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.707e-05/0.6064, allocations: 4 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.535e-05/0.6064, allocations: 7.922 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.6065, allocations: 8 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.6067, allocations: 87.91 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.6067, allocations: 7.984 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.6067, allocations: 7.938 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.6069, allocations: 79.48 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6069, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6069, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.6069, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 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.0004487/0.6073, allocations: 355.2 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.6074, allocations: 12.03 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.6075, allocations: 34.75 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.6075, allocations: 4.938 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.6076, allocations: 168.3 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.6076, allocations: 4.375 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.6076, allocations: 4.375 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.997e-05/0.6077, allocations: 42.19 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.6078, allocations: 3.938 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.6078, allocations: 0 / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6078, allocations: 4 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.949e-05/0.6078, allocations: 15.92 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.6081, allocations: 245 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.6082, allocations: 30.52 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.6083, allocations: 20.94 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-06/0.6083, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.6084, allocations: 59.34 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.6084, allocations: 0 / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0001855/0.6086, allocations: 69.67 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.6086, allocations: 55.41 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.6087, allocations: 97.86 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.6087, allocations: 29.83 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.6088, allocations: 88.12 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.6088, allocations: 15.84 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.6088, allocations: 21.72 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.609, allocations: 314.8 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.609, allocations: 15.94 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/0.609, allocations: 35.42 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.427e-05/0.6091, allocations: 47.38 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6091, allocations: 3.938 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001044/0.6092, allocations: 77.59 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.6093, allocations: 4 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6093, allocations: 0 / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6093, allocations: 7.938 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.6093, allocations: 12.06 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6093, allocations: 160 / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.6094, allocations: 7.891 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.6094, allocations: 7.984 kB / 1.224 GB, free: 14 MB / 0.9512 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 8.151e-05/0.6095, allocations: 122.3 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.6095, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.6095, allocations: 7.562 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6095, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6095, allocations: 4 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6095, allocations: 4 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.6098, allocations: 298.8 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6098, allocations: 7.875 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.6098, allocations: 4 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.6098, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.6099, allocations: 4 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6099, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6099, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.61, allocations: 171.4 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.6101, allocations: 77.11 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.6101, allocations: 0 / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.6101, allocations: 0 / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.6102, allocations: 4 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.6102, allocations: 7.984 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.6102, allocations: 79.28 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.6102, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002534/0.6105, allocations: 31.88 kB / 1.225 GB, free: 13.09 MB / 0.9512 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.0006623/0.6111, allocations: 0.756 MB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.6113, allocations: 47.94 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6113, allocations: 4.125 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.6113, allocations: 15.98 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.6115, allocations: 11.88 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.6125, allocations: 1.257 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.6128, allocations: 0.6807 MB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.6128, allocations: 7.906 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.6129, allocations: 15.42 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.6129, allocations: 0 / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4653/1.078, allocations: 1.903 MB / 1.229 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.311/10.39, allocations: 8.812 kB / 1.229 GB, free: 8.395 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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