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.006593/0.006593, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001643/0.001643, allocations: 191.6 kB / 16.67 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.567/2.567, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2346, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002014/0.2366, allocations: 1.204 MB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.2374, allocations: 407 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.2374, allocations: 0 / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.2375, allocations: 3.938 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.759e-05/0.2375, allocations: 0 / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.238, allocations: 103.7 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.046e-05/0.238, allocations: 15.98 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.2381, allocations: 4 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.2381, allocations: 7.984 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.668e-05/0.2381, allocations: 11.94 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.2381, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.2383, allocations: 87.84 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.2384, allocations: 11.98 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.2384, allocations: 0 / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.2386, allocations: 84.03 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2386, allocations: 4 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.121e-06/0.2386, allocations: 4 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2386, allocations: 0 / 1.168 GB, free: 5.426 MB / 0.92 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.0004002/0.239, allocations: 347.3 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.239, allocations: 12.03 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.2391, allocations: 30.75 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.2391, allocations: 0.9375 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.984e-05/0.2392, allocations: 160.4 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2392, allocations: 16.31 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.2393, allocations: 4.359 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.183e-05/0.2394, allocations: 46.17 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.2394, allocations: 3.938 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.2394, allocations: 0 / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2394, allocations: 0 / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.2394, allocations: 8 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.2397, allocations: 244.9 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.2398, allocations: 46.44 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.2399, allocations: 12.86 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2399, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.24, allocations: 59.48 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.24, allocations: 0 / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0001864/0.2402, allocations: 81.8 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2403, allocations: 51.41 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.2403, allocations: 97.86 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2404, allocations: 25.7 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.2404, allocations: 84.08 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.2404, allocations: 23.83 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.2405, allocations: 17.72 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.2405, allocations: 311 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.2406, allocations: 19.98 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.2406, allocations: 39.48 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.2407, allocations: 47.36 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2407, allocations: 7.938 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001036/0.2408, allocations: 69.62 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2408, allocations: 4 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2408, allocations: 0 / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2409, allocations: 7.984 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.2409, allocations: 11.94 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2409, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.241, allocations: 7.953 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.241, allocations: 4 kB / 1.17 GB, free: 3.301 MB / 0.92 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.836e-05/0.2411, allocations: 113.8 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.2411, allocations: 4 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.2411, allocations: 11.55 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2411, allocations: 4 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2411, allocations: 96 / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2411, allocations: 7.922 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.2414, allocations: 294.5 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2414, allocations: 4 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.2414, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2414, allocations: 4 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2414, allocations: 7.984 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2414, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2414, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.2416, allocations: 163.4 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.2416, allocations: 81.06 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2416, allocations: 7.984 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.2417, allocations: 4.125 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.2417, allocations: 4 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.2417, allocations: 8 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.2418, allocations: 75.28 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2418, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002893/0.2421, allocations: 39.8 kB / 1.171 GB, free: 2.379 MB / 0.92 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.0005809/0.2427, allocations: 0.7618 MB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.515e-05/0.2428, allocations: 31.98 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2428, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.2428, allocations: 15.94 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.243, allocations: 4 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.244, allocations: 1.249 MB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.2442, allocations: 0.6807 MB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.2443, allocations: 96 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.2443, allocations: 15.38 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2443, allocations: 0 / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.2602, allocations: 1.925 MB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.746, allocations: 7.828 kB / 1.175 GB, free: 13.7 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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:time,y