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.005415/0.005415, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001526/0.001526, allocations: 195.2 kB / 16.68 MB, free: 5.523 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.585/2.585, allocations: 437 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 68.08 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7722, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002259/0.7745, allocations: 1.206 MB / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.7753, allocations: 401.1 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.7753, allocations: 0 / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.7754, allocations: 7.938 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.271e-05/0.7754, allocations: 0 / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.7759, allocations: 95.7 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.803e-05/0.776, allocations: 15.92 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.776, allocations: 0 / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.776, allocations: 11.94 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.476e-05/0.7761, allocations: 3.984 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.7761, allocations: 4 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.7763, allocations: 91.84 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.7763, allocations: 7.969 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.7763, allocations: 15.94 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.7765, allocations: 78.56 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7765, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7766, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.7766, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8887 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.000472/0.777, allocations: 352.2 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.7771, allocations: 8.922 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.7771, allocations: 38.73 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.7772, allocations: 4.922 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.7773, allocations: 164.4 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.7773, allocations: 4.375 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.7773, allocations: 384 / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.7775, allocations: 50.17 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.7775, allocations: 3.938 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.7775, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7775, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.7775, allocations: 7.938 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.7779, allocations: 256.9 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.778, allocations: 34.5 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.778, allocations: 20.8 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.778, allocations: 0 / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.7782, allocations: 63.48 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.7782, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002044/0.7784, allocations: 65.69 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.7785, allocations: 59.34 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.7785, allocations: 97.84 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.7786, allocations: 29.7 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.7786, allocations: 84.14 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.7786, allocations: 11.84 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.7787, allocations: 33.83 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7788, allocations: 310.8 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.7789, allocations: 12 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.7789, allocations: 31.42 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.276e-05/0.779, allocations: 55.36 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.779, allocations: 7.875 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.7791, allocations: 69.62 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7791, allocations: 4 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.7791, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7792, allocations: 4.094 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.7792, allocations: 15.92 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.7792, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.7793, allocations: 7.938 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.7793, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 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 8.613e-05/0.7794, allocations: 121.8 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.7794, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.7794, allocations: 3.562 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.7795, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.7795, allocations: 4.25 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7795, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.7797, allocations: 306.5 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7798, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.7798, allocations: 4 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7798, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.7798, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7798, allocations: 3.938 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7798, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.78, allocations: 163.5 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.78, allocations: 81.06 kB / 1.17 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.78, allocations: 0 / 1.17 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.7801, allocations: 0 / 1.17 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.7801, allocations: 15.92 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.7802, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.7802, allocations: 83.28 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7802, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002797/0.7805, allocations: 31.86 kB / 1.171 GB, free: 14.77 MB / 0.9044 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.0007364/0.7812, allocations: 0.7663 MB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.7814, allocations: 35.92 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7814, allocations: 0 / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.7814, allocations: 15.94 kB / 1.171 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.7816, allocations: 8.5 kB / 1.171 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.7827, allocations: 1.249 MB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.783, allocations: 0.6783 MB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.7831, allocations: 4 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.7831, allocations: 19.44 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.7831, allocations: 0 / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.8064, allocations: 1.911 MB / 1.175 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.712, allocations: 10.86 kB / 1.175 GB, free: 10.09 MB / 0.9044 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