Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",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.00825/0.00825, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.00192/0.00192, allocations: 190 kB / 16.67 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.371/2.371, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.12 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6833, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001894/0.6852, allocations: 0.6715 MB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009333/0.6862, allocations: 0.804 MB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.6862, allocations: 0 / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.6863, allocations: 3.938 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.6864, allocations: 3.938 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.6865, allocations: 11.98 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.6866, allocations: 19.98 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.6867, allocations: 12 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.032e-05/0.6868, allocations: 11.86 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.6868, allocations: 8 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.6868, allocations: 4 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.6868, allocations: 0 / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.6869, allocations: 7.938 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.6869, allocations: 15.97 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.357e-05/0.687, allocations: 19.91 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.687, allocations: 0 / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.385e-06/0.687, allocations: 4 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.687, allocations: 0 / 1.168 GB, free: 2.145 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.000476/0.6875, allocations: 335.2 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6875, allocations: 12.62 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.6876, allocations: 30.75 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.6876, allocations: 0.9375 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.6877, allocations: 176.3 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6878, allocations: 4.359 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.6878, allocations: 384 / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.6879, allocations: 58.17 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.688, allocations: 3.938 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.688, allocations: 0 / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.688, allocations: 0 / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.6882, allocations: 31.97 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.6885, allocations: 248.9 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.6886, allocations: 52.91 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.6887, allocations: 24.91 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.6887, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.6888, allocations: 30.56 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.6888, allocations: 0 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003371/0.6891, allocations: 85.64 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6892, allocations: 51.41 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.6892, allocations: 101.8 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.6893, allocations: 29.7 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.6893, allocations: 84.14 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.6893, allocations: 3.953 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.6894, allocations: 17.78 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6895, allocations: 322.8 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.6896, allocations: 11.98 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.6896, allocations: 15.98 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.6898, allocations: 36.83 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6898, allocations: 8 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001979/0.69, allocations: 69.61 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.69, allocations: 4 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.69, allocations: 0 / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.69, allocations: 0 / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.6901, allocations: 11.98 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.6901, allocations: 3.938 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.6902, allocations: 12.02 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.6902, allocations: 0 / 1.17 GB, free: 76 kB / 0.8887 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 (2): * Single equations (assignments): 2 * 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.508e-05/0.6903, allocations: 113.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.6903, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.6906, allocations: 64.78 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6906, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6906, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.6906, allocations: 4.031 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.6908, allocations: 165.6 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6908, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.6908, allocations: 7.984 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6908, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.6908, allocations: 3.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6909, allocations: 4 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6909, allocations: 3.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.6911, allocations: 167.5 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.6911, allocations: 81.06 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.6912, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.6912, allocations: 7.984 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.6913, allocations: 4.188 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.6913, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.6913, allocations: 83.27 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6913, allocations: 4.031 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002173/0.6916, allocations: 4 kB / 1.17 GB, free: 15.26 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000538/0.6921, allocations: 0.7045 MB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.6923, allocations: 36 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6923, allocations: 0 / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.6924, allocations: 19.98 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.6927, allocations: 10.64 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.6931, allocations: 131 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.6933, allocations: 0.6769 MB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.6933, allocations: 3.984 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.6934, allocations: 11.44 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.6934, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.7081, allocations: 1.276 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.856, allocations: 0.8906 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_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_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches