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.007806/0.007806, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.001961/0.001961, allocations: 193.2 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.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.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 62.41 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2498, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002267/0.2521, allocations: 1.21 MB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.253, allocations: 396.5 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.253, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.253, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.2531, allocations: 3.984 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.2537, allocations: 103.7 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.2537, allocations: 8 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.2538, allocations: 4 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.2538, allocations: 19.86 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.65e-05/0.2539, allocations: 7.984 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2539, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.2541, allocations: 95.83 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2541, allocations: 4 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.2542, allocations: 7.938 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2543, allocations: 83.97 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2544, allocations: 4 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2544, allocations: 4 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.2544, allocations: 0 / 1.089 GB, free: 68 kB / 0.8419 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.0004434/0.2548, allocations: 343.3 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2549, allocations: 12.03 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.2549, allocations: 34.75 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.255, allocations: 4.891 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2551, allocations: 164.4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2551, allocations: 4.375 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2551, allocations: 4.359 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.826e-05/0.2552, allocations: 42.25 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.2552, allocations: 3.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2553, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2553, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.854e-05/0.2553, allocations: 7.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.2556, allocations: 245 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.2557, allocations: 46.48 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.2558, allocations: 8.859 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.2558, allocations: 96 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.2559, allocations: 67.33 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.2559, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001912/0.2561, allocations: 77.86 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2562, allocations: 51.41 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.2563, allocations: 97.81 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2563, allocations: 25.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.2563, allocations: 84.14 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2563, allocations: 15.88 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.2564, allocations: 17.72 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.2565, allocations: 318.9 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.2565, allocations: 20.05 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.2566, allocations: 35.38 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.353e-05/0.2566, allocations: 51.36 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2566, allocations: 3.938 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001095/0.2567, allocations: 77.58 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2568, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2568, allocations: 4 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2568, allocations: 3.984 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.2569, allocations: 11.94 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2569, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.2569, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.2569, allocations: 0 / 1.091 GB, free: 13.95 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 7.262e-05/0.257, allocations: 121.7 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.257, allocations: 4.062 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.257, allocations: 7.547 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2571, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2571, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2571, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2573, allocations: 306.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2573, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.2574, allocations: 3.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2574, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2574, allocations: 7.984 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2574, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2574, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2575, allocations: 159.5 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.2576, allocations: 77.11 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2576, allocations: 8.109 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.2577, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.2577, allocations: 96 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2577, allocations: 8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.941e-05/0.2577, allocations: 75.28 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2577, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002925/0.258, allocations: 39.8 kB / 1.092 GB, free: 13.04 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.0006171/0.2586, allocations: 0.7781 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.2588, allocations: 35.92 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2588, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.2588, allocations: 8 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.259, allocations: 8 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.26, allocations: 1.25 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2602, allocations: 0.6807 MB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2e-05/0.2603, allocations: 256 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.2603, allocations: 15.44 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.2603, allocations: 0 / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.2768, allocations: 1.911 MB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.609, allocations: 6.094 kB / 1.097 GB, free: 8.352 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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:time,y