Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_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.007268/0.007268, allocations: 100.1 kB / 15.73 MB, free: 6.059 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.002027/0.002027, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 469.8 MB / 0.7425 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002084, allocations: 68.3 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6714/0.6735, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00187/0.6754, allocations: 0.6676 MB / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009772/0.6764, allocations: 0.8079 MB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.6765, allocations: 0 / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.6765, allocations: 0 / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.6766, allocations: 3.938 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.6767, allocations: 8 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.6768, allocations: 23.92 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.6769, allocations: 7.938 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.6769, allocations: 15.92 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.677, allocations: 11.97 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.677, allocations: 0 / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-06/0.677, allocations: 4 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.677, allocations: 7.938 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.6771, allocations: 8 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.649e-05/0.6772, allocations: 19.91 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6772, allocations: 4 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6772, allocations: 0 / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.6772, allocations: 0 / 1.222 GB, free: 412 kB / 0.9356 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.000456/0.6776, allocations: 335.2 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.6777, allocations: 12.03 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.6777, allocations: 38.67 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.6778, allocations: 4.891 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6779, allocations: 168.3 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.6779, allocations: 4.375 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.6779, allocations: 384 / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.6781, allocations: 50.23 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6781, allocations: 7.922 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.6781, allocations: 0 / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.6782, allocations: 0 / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.6783, allocations: 35.95 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.6787, allocations: 256.9 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.6788, allocations: 38.5 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/0.6789, allocations: 24.89 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.679, allocations: 4 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.679, allocations: 30.56 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.679, allocations: 4 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003666/0.6794, allocations: 85.58 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.6794, allocations: 51.41 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.6795, allocations: 93.86 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.6795, allocations: 29.7 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.6796, allocations: 88.2 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.6796, allocations: 15.94 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.6797, allocations: 9.719 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6798, allocations: 314.8 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.6799, allocations: 15.98 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.68, allocations: 15.98 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.6802, allocations: 44.88 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.6802, allocations: 3.938 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002178/0.6804, allocations: 69.59 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6804, allocations: 7.938 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6804, allocations: 0 / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.6804, allocations: 0 / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.6805, allocations: 8 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6806, allocations: 8.016 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.6806, allocations: 4 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.6806, allocations: 0 / 1.224 GB, free: 14.33 MB / 0.9512 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.828e-05/0.6807, allocations: 113.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.6807, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.681, allocations: 76.7 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.681, allocations: 4.031 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.681, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.681, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.6812, allocations: 157.6 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6812, allocations: 4 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.6813, allocations: 7.984 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6813, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.6813, allocations: 7.938 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.6813, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6813, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.6816, allocations: 163.4 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.6816, allocations: 81.11 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.6816, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.6817, allocations: 7.984 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.6818, allocations: 7.938 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.6818, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.628e-05/0.6818, allocations: 87.3 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6818, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002225/0.6821, allocations: 4 kB / 1.224 GB, free: 13.51 MB / 0.9512 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.0006068/0.6827, allocations: 0.6977 MB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.6829, allocations: 35.91 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6829, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.683, allocations: 23.97 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.6833, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.6837, allocations: 143.2 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.684, allocations: 0.6768 MB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.684, allocations: 3.906 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.6841, allocations: 15.38 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.6841, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.7052, allocations: 1.263 MB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/8.126, allocations: 12.34 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches