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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007539/0.007539, allocations: 98.94 kB / 15.73 MB, free: 6.035 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.001999/0.001999, allocations: 195.7 kB / 16.67 MB, free: 5.961 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.677/2.677, allocations: 469.4 MB / 0.7422 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.11 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2687, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002043/0.2708, allocations: 1.2 MB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.2716, allocations: 400.4 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.2716, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.2716, allocations: 7.938 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.94e-05/0.2717, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.2722, allocations: 99.66 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.2722, allocations: 11.94 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.2723, allocations: 0 / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.2723, allocations: 19.91 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.261e-05/0.2723, allocations: 4 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.2723, allocations: 0 / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.2725, allocations: 91.84 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.2726, allocations: 7.984 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.2726, allocations: 11.94 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.2727, allocations: 75.81 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2728, allocations: 4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2728, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2728, allocations: 3.938 kB / 1.222 GB, free: 12.75 MB / 0.9825 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.0004026/0.2732, allocations: 347.3 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2732, allocations: 12.03 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.2733, allocations: 34.75 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.2733, allocations: 0.9375 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.323e-05/0.2734, allocations: 172.3 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2734, allocations: 384 / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2735, allocations: 12.3 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.2736, allocations: 42.25 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2736, allocations: 3.938 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2736, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2736, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.2736, allocations: 4 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.2739, allocations: 249 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.274, allocations: 46.42 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.274, allocations: 8.859 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.2741, allocations: 0 / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.2742, allocations: 67.48 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.2742, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.000222/0.2745, allocations: 73.61 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2745, allocations: 55.41 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.2746, allocations: 93.86 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2746, allocations: 25.7 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.2747, allocations: 84.14 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2747, allocations: 11.91 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.2747, allocations: 25.83 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2749, allocations: 318.8 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.2749, allocations: 7.984 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.2749, allocations: 31.44 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.275, allocations: 59.3 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.275, allocations: 7.875 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001158/0.2751, allocations: 69.62 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2752, allocations: 4 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2752, allocations: 4 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2752, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.2753, allocations: 15.92 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2753, allocations: 160 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.2753, allocations: 11.89 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.2753, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 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.836e-05/0.2754, allocations: 121.8 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.2754, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.2755, allocations: 11.55 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2755, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2755, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2755, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.2757, allocations: 306.5 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2758, allocations: 320 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.2758, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2758, allocations: 8 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2758, allocations: 3.984 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2758, allocations: 3.984 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2758, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.276, allocations: 167.4 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.276, allocations: 77.11 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.276, allocations: 7.984 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.2761, allocations: 0 / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.2761, allocations: 8.078 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2761, allocations: 4 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.2762, allocations: 75.28 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2762, allocations: 0 / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002904/0.2765, allocations: 35.86 kB / 1.224 GB, free: 9.715 MB / 0.9825 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.0006793/0.2772, allocations: 0.7693 MB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.2773, allocations: 31.92 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2773, allocations: 4 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.2773, allocations: 12.06 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.2776, allocations: 9.875 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2786, allocations: 1.261 MB / 1.226 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.2788, allocations: 0.6807 MB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.2789, allocations: 256 / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.2789, allocations: 15.44 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2789, allocations: 0 / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.2999, allocations: 1.917 MB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.807, allocations: 25.81 kB / 1.229 GB, free: 5 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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:time,y