Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_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.007704/0.007704, allocations: 102.7 kB / 15.73 MB, free: 5.957 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.001551/0.001551, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 63.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8103, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002528/0.8129, allocations: 1.206 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.814, allocations: 395 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.814, allocations: 3.938 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.814, allocations: 0 / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.8141, allocations: 0 / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.8147, allocations: 98.28 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.8148, allocations: 21.17 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.8148, allocations: 3.016 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.8149, allocations: 4.188 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.072e-05/0.8149, allocations: 9.609 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.8149, allocations: 4.906 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.8151, allocations: 93.48 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.8152, allocations: 10.17 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.8152, allocations: 8.031 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.8154, allocations: 76 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8154, allocations: 0.6562 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8154, allocations: 0 / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8154, allocations: 1.219 kB / 1.089 GB, free: 4.059 MB / 0.8575 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.0003631/0.8158, allocations: 344 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.8158, allocations: 9.719 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.8159, allocations: 37.06 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.8159, allocations: 5.969 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.759e-05/0.816, allocations: 168.9 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-06/0.816, allocations: 3.141 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.816, allocations: 2.281 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.764e-05/0.8161, allocations: 42.25 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.8161, allocations: 7.922 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.8161, allocations: 0 / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.8162, allocations: 5.094 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.8162, allocations: 6.078 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.8164, allocations: 242.1 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.077e-05/0.8165, allocations: 48.84 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.8166, allocations: 12.69 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.8166, allocations: 4.75 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.8167, allocations: 59.36 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.8167, allocations: 0 / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.00021/0.8169, allocations: 75.5 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.817, allocations: 57.11 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.817, allocations: 94.84 kB / 1.09 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.8171, allocations: 30.89 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.8171, allocations: 89.23 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.8171, allocations: 15.3 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.8172, allocations: 20.78 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.8172, allocations: 317.4 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.8172, allocations: 6.609 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.8173, allocations: 38.78 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.515e-05/0.8173, allocations: 51.45 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8174, allocations: 7.875 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001167/0.8175, allocations: 68.98 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.8175, allocations: 6.438 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8175, allocations: 0.75 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8175, allocations: 6.828 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.8176, allocations: 16.48 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.8176, allocations: 1.969 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.8177, allocations: 5.25 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.8177, allocations: 2.688 kB / 1.091 GB, free: 2.184 MB / 0.8575 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 6.363e-05/0.8177, allocations: 120.6 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.8178, allocations: 1.422 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.8178, allocations: 5.109 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.8178, allocations: 0.9688 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8178, allocations: 0.7969 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8178, allocations: 4.094 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.818, allocations: 299.7 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.818, allocations: 4.547 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.8181, allocations: 4 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8181, allocations: 0 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.8181, allocations: 6.188 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8181, allocations: 5.094 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8181, allocations: 4 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.8182, allocations: 170.6 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.8183, allocations: 82.11 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.8183, allocations: 1.641 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.156e-05/0.8183, allocations: 0.75 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.8184, allocations: 3.031 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.8184, allocations: 2.938 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.004e-05/0.8184, allocations: 77.47 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8184, allocations: 0 / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003067/0.8187, allocations: 39.3 kB / 1.092 GB, free: 1.387 MB / 0.8575 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.0005929/0.8193, allocations: 0.7594 MB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.8194, allocations: 31.83 kB / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8194, allocations: 0 / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.8195, allocations: 19.44 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.8197, allocations: 10.45 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.8208, allocations: 1.256 MB / 1.094 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.821, allocations: 0.6767 MB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.821, allocations: 3.219 kB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.8211, allocations: 14.42 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8211, allocations: 1 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.839, allocations: 1.909 MB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.554, allocations: 13.89 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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