Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.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.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",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.001128/0.001128, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 197 kB / 16.53 MB, free: 6.699 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.441/2.441, allocations: 437.1 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 71.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5269, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.001748/0.5287, allocations: 0.5722 MB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.637e-05/0.5288, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.5288, allocations: 7.875 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.5288, allocations: 8 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.39e-05/0.5289, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.789e-05/0.5289, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.5289, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.529, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.529, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.506e-05/0.529, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.529, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-06/0.529, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.699e-06/0.5291, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.5291, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.62e-05/0.5291, allocations: 4 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5291, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5291, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5292, allocations: 4 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002212/0.5294, allocations: 307.5 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5294, allocations: 12.06 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.5295, allocations: 34.75 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.714e-05/0.5295, allocations: 0.9375 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.234e-05/0.5296, allocations: 160.4 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.5296, allocations: 384 / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.5296, allocations: 12.25 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.5297, allocations: 38.25 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5297, allocations: 3.938 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.5297, allocations: 0 / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5297, allocations: 3.938 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.5297, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.5298, allocations: 145.7 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.387e-05/0.5299, allocations: 14.58 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.5299, allocations: 20.89 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.5299, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.53, allocations: 34.55 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.53, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.000104/0.5301, allocations: 37.55 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.5301, allocations: 51.41 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.975e-05/0.5301, allocations: 89.98 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.5301, allocations: 33.7 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.5302, allocations: 84.12 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.5302, allocations: 4 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.5302, allocations: 9.719 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.5303, allocations: 310.8 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.5303, allocations: 7.938 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.5303, allocations: 3.984 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.5304, allocations: 12.92 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5304, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.669e-05/0.5304, allocations: 33.7 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.5305, allocations: 4 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5305, allocations: 3.938 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.5305, allocations: 0 / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.712e-05/0.5305, allocations: 4 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.5305, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.5306, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.5306, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.768e-05/0.5306, allocations: 117.8 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.5306, allocations: 3.984 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.439e-05/0.5307, allocations: 7.062 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5307, allocations: 0 / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5307, allocations: 3.938 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.5307, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.042e-05/0.5308, allocations: 141.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5308, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.5308, allocations: 8 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5308, allocations: 7.984 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5308, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.5308, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5308, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.653e-05/0.5309, allocations: 57.12 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.5309, allocations: 83.3 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.5309, allocations: 3.938 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.5309, allocations: 4.031 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.531, allocations: 7.984 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.531, allocations: 7.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.468e-05/0.531, allocations: 75.28 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.531, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.5312, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.000295/0.5315, allocations: 0.5968 MB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.825e-05/0.5316, allocations: 4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5316, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.5316, allocations: 7.938 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.5317, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.532, allocations: 119.2 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.5322, allocations: 0.6769 MB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.121e-05/0.5323, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.5323, allocations: 7.438 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5323, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.5479, allocations: 0.8774 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/7.223, allocations: 9.656 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,staTim.y Variables in the result:time,staTim.y