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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004242/0.004242, allocations: 99.41 kB / 15.73 MB, free: 6.008 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.001248/0.001248, allocations: 192.8 kB / 16.68 MB, free: 5.934 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 482.4 MB / 0.7548 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.48 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2767, allocations: 162.2 MB / 1.241 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00226/0.279, allocations: 1.219 MB / 1.243 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.2799, allocations: 392.5 kB / 1.243 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.2799, allocations: 3.938 kB / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.2799, allocations: 0 / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.28, allocations: 0 / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.2804, allocations: 103.7 kB / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.2805, allocations: 11.98 kB / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.2806, allocations: 8 kB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.2806, allocations: 7.984 kB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.2806, allocations: 7.922 kB / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.2806, allocations: 4 kB / 1.243 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.2808, allocations: 91.84 kB / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.2809, allocations: 4 kB / 1.243 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.2809, allocations: 11.92 kB / 1.243 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2811, allocations: 81.5 kB / 1.243 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2811, allocations: 4 kB / 1.243 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2811, allocations: 0 / 1.243 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2811, allocations: 0 / 1.243 GB, free: 7.426 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.0004664/0.2816, allocations: 351.2 kB / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2816, allocations: 8.031 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.2817, allocations: 38.73 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.2817, allocations: 0.9375 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2818, allocations: 164.3 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2819, allocations: 4.375 kB / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2819, allocations: 8.375 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.677e-05/0.282, allocations: 42.19 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.282, allocations: 3.938 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.282, allocations: 3.984 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.282, allocations: 0 / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.818e-05/0.2821, allocations: 8 kB / 1.244 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.2824, allocations: 244.9 kB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.423e-05/0.2825, allocations: 42.44 kB / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.2825, allocations: 16.86 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.2825, allocations: 0 / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.2827, allocations: 55.48 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.2827, allocations: 4 kB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001961/0.2829, allocations: 73.62 kB / 1.244 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.283, allocations: 55.41 kB / 1.244 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.283, allocations: 97.84 kB / 1.244 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2831, allocations: 29.7 kB / 1.244 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.2831, allocations: 80.14 kB / 1.245 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2831, allocations: 15.84 kB / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.2832, allocations: 25.7 kB / 1.245 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2833, allocations: 311 kB / 1.245 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.2834, allocations: 16.25 kB / 1.245 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.2834, allocations: 35.42 kB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.898e-05/0.2835, allocations: 47.38 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2835, allocations: 3.938 kB / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.2836, allocations: 81.64 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2836, allocations: 4 kB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2837, allocations: 3.938 kB / 1.245 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2837, allocations: 4 kB / 1.245 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.2837, allocations: 4 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2837, allocations: 11.92 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.2838, allocations: 3.953 kB / 1.245 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2838, allocations: 4 kB / 1.245 GB, free: 5.301 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.064e-05/0.2839, allocations: 121.8 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.2839, allocations: 0 / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.2839, allocations: 7.562 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2839, allocations: 0 / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2839, allocations: 4 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.284, allocations: 0 / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.2842, allocations: 302.5 kB / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2843, allocations: 3.938 kB / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.2843, allocations: 4 kB / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2843, allocations: 0 / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.2843, allocations: 4 kB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2843, allocations: 4 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2843, allocations: 0 / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.2845, allocations: 167.4 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.2845, allocations: 81.06 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.2846, allocations: 0 / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.187e-05/0.2846, allocations: 128 / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.2846, allocations: 11.98 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2847, allocations: 8 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.2847, allocations: 79.28 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2847, allocations: 0 / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000278/0.285, allocations: 35.81 kB / 1.246 GB, free: 4.383 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.000735/0.2857, allocations: 0.7682 MB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.2858, allocations: 28 kB / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2859, allocations: 0 / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.2859, allocations: 23.86 kB / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.2861, allocations: 3.938 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2872, allocations: 1.261 MB / 1.248 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2876, allocations: 0.6729 MB / 1.249 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.2876, allocations: 8.234 kB / 1.249 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.2876, allocations: 7.438 kB / 1.249 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.2876, allocations: 0 / 1.249 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.3095, allocations: 1.913 MB / 1.25 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.009, allocations: 20.66 kB / 1.251 GB, free: 15.7 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 400 --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