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.008917/0.008917, allocations: 99.89 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.00236/0.00236, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.305/2.305, 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 4.03/4.03, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 75.89 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002746/1.067, allocations: 0.6793 MB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00159/1.069, allocations: 0.8001 MB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/1.069, allocations: 0 / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/1.069, allocations: 3.938 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.716e-05/1.069, allocations: 4 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/1.069, allocations: 15.92 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.723e-05/1.069, allocations: 20 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/1.069, allocations: 7.984 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/1.07, allocations: 11.88 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/1.07, allocations: 11.98 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/1.07, allocations: 4 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/1.07, allocations: 0 / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/1.07, allocations: 3.938 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/1.07, allocations: 15.98 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/1.07, allocations: 23.89 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.07, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.844e-06/1.07, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.22e-06/1.07, allocations: 0 / 1.168 GB, free: 2.137 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.0006478/1.071, allocations: 335.2 kB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.071, allocations: 12.92 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/1.071, allocations: 30.75 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/1.071, allocations: 0.9375 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/1.071, allocations: 176.3 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.071, allocations: 384 / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/1.071, allocations: 384 / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/1.071, allocations: 50.23 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.071, allocations: 7.875 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/1.071, allocations: 0 / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.071, allocations: 0 / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/1.072, allocations: 35.95 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/1.072, allocations: 253 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/1.072, allocations: 44.81 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/1.073, allocations: 28.89 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/1.073, allocations: 0 / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/1.073, allocations: 38.5 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.073, allocations: 0 / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0005645/1.073, allocations: 81.64 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/1.073, allocations: 51.41 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/1.073, allocations: 97.86 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/1.073, allocations: 25.7 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/1.074, allocations: 92.25 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/1.074, allocations: 3.953 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/1.074, allocations: 13.72 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002048/1.074, allocations: 314.8 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/1.074, allocations: 15.98 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/1.074, allocations: 19.91 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/1.074, allocations: 40.89 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.074, allocations: 3.938 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003405/1.075, allocations: 69.61 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.075, allocations: 4 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.075, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.075, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/1.075, allocations: 16.02 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.075, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/1.075, allocations: 8 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/1.075, 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 0.0001739/1.075, allocations: 117.7 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/1.075, allocations: 4.188 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/1.076, allocations: 76.77 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.076, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.076, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.076, allocations: 4 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/1.076, allocations: 157.6 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.076, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/1.076, allocations: 11.98 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.076, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/1.076, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.076, allocations: 7.938 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.076, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/1.077, allocations: 171.4 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/1.077, allocations: 81.06 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/1.077, allocations: 3.984 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/1.077, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/1.077, allocations: 3.938 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/1.077, allocations: 8.016 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.169e-05/1.077, allocations: 79.28 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.077, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004524/1.078, allocations: 4 kB / 1.17 GB, free: 15.25 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.0009672/1.079, allocations: 0.7007 MB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003554/1.079, allocations: 39.95 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.079, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/1.079, allocations: 15.98 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/1.08, allocations: 4 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.0006544/1.081, allocations: 135.2 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/1.081, allocations: 0.6768 MB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.368e-05/1.081, allocations: 3.938 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/1.081, allocations: 7.438 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of SimCode: time 4.2e-07/1.081, allocations: 4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/1.116, allocations: 1.273 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.47, allocations: 5.547 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