Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_latest_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.006838/0.006838, allocations: 108.3 kB / 15.74 MB, free: 5.984 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.001378/0.001378, allocations: 193.4 kB / 16.67 MB, free: 5.906 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3225, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002462/0.325, allocations: 1.2 MB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.3259, allocations: 406.5 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.326, allocations: 0 / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.3261, allocations: 0 / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.3261, allocations: 0 / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.3267, allocations: 103.6 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.3268, allocations: 12 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.3269, allocations: 3.984 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.3269, allocations: 7.938 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.3269, allocations: 11.98 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.3269, allocations: 0 / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3271, allocations: 95.83 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.3272, allocations: 4 kB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.3272, allocations: 7.938 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3274, allocations: 71.89 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3274, allocations: 0 / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3274, allocations: 4 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3274, allocations: 4 kB / 1.209 GB, free: 8.25 MB / 0.9669 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.0004547/0.3279, allocations: 344.5 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3279, allocations: 12.62 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.328, allocations: 42.59 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.328, allocations: 0.9375 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.3281, allocations: 168.6 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3281, allocations: 4.375 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3282, allocations: 4.375 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.3283, allocations: 42.25 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3283, allocations: 3.938 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3283, allocations: 0 / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3283, allocations: 0 / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.3283, allocations: 11.97 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.3286, allocations: 248.9 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3287, allocations: 46.5 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.3288, allocations: 12.94 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.3288, allocations: 0 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.329, allocations: 59.41 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.329, allocations: 0 / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002216/0.3292, allocations: 81.52 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.3293, allocations: 59.41 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.3293, allocations: 93.86 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3294, allocations: 25.7 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.3294, allocations: 84.14 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3294, allocations: 11.89 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3295, allocations: 17.72 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3296, allocations: 318.8 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.3297, allocations: 12.12 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.3297, allocations: 35.42 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.069e-05/0.3298, allocations: 43.38 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3298, allocations: 11.88 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001121/0.3299, allocations: 81.45 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3299, allocations: 4 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3299, allocations: 160 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.33, allocations: 4 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.33, allocations: 12 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.33, allocations: 3.984 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.3301, allocations: 4 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3301, allocations: 0 / 1.211 GB, free: 6.125 MB / 0.9669 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 9.944e-05/0.3302, allocations: 125.7 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.3302, allocations: 8.047 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.3302, allocations: 3.562 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3303, allocations: 4 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3303, allocations: 0 / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3303, allocations: 0 / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3306, allocations: 290.6 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3306, allocations: 4 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.3306, allocations: 3.984 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3306, allocations: 4 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3306, allocations: 4 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3306, allocations: 4 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3306, allocations: 3.938 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.3308, allocations: 175.7 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.3308, allocations: 81.09 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3309, allocations: 0 / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.3309, allocations: 4 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.331, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.331, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.331, allocations: 87.27 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.11e-07/0.331, allocations: 0 / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002927/0.3313, allocations: 31.94 kB / 1.212 GB, free: 5.211 MB / 0.9669 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.000689/0.332, allocations: 0.7632 MB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3321, allocations: 31.92 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3322, allocations: 0 / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.3322, allocations: 15.98 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.3324, allocations: 8 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3335, allocations: 1.261 MB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.3337, allocations: 0.6845 MB / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.3337, allocations: 0 / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3338, allocations: 11.44 kB / 1.214 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3338, allocations: 0 / 1.214 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.3508, allocations: 1.943 MB / 1.216 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.074, allocations: 0 / 1.216 GB, free: 0.4961 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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