Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.00542/0.00542, allocations: 99.98 kB / 15.73 MB, free: 6.02 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.00157/0.00157, allocations: 187.7 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.767/2.767, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6648/0.6667, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00196/0.6687, allocations: 0.8898 MB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.6698, allocations: 0.8974 MB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.6698, allocations: 0 / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.6699, allocations: 11.81 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.67, allocations: 7.875 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.6702, allocations: 67.84 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.6704, allocations: 135.7 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.6706, allocations: 65.41 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.6706, allocations: 47.84 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.6707, allocations: 59.69 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.6708, allocations: 20 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.199e-05/0.6708, allocations: 12 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.6708, allocations: 35.84 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.6709, allocations: 59.66 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.6711, allocations: 139.1 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6711, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6711, allocations: 3.938 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.6711, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006596/0.6718, allocations: 447 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6718, allocations: 8.031 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.6719, allocations: 46.73 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.6719, allocations: 16.84 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.6722, allocations: 224 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.6722, allocations: 12.31 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.6722, allocations: 16.38 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.6726, allocations: 150.7 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6726, allocations: 3.938 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.6726, allocations: 8 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6726, allocations: 4 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.673, allocations: 127.9 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.6738, allocations: 492.2 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.674, allocations: 98.39 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.6741, allocations: 44.83 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.6742, allocations: 4 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.6742, allocations: 34.56 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.6742, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004823/0.6747, allocations: 153.7 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6747, allocations: 55.41 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.6749, allocations: 199.4 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.675, allocations: 25.7 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.675, allocations: 112.1 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.6751, allocations: 43.67 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.6752, allocations: 25.72 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6753, allocations: 322.8 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.6754, allocations: 47.97 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.6756, allocations: 43.97 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.6758, allocations: 94.69 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.6758, allocations: 3.938 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003331/0.6762, allocations: 145.6 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.6762, allocations: 7.984 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6762, allocations: 0 / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6762, allocations: 0 / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.6764, allocations: 27.92 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6764, allocations: 384 / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.6765, allocations: 27.84 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.6765, allocations: 11.92 kB / 1.226 GB, free: 12.32 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 (13): * Single equations (assignments): 13 * 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.0001002/0.6766, allocations: 121.8 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.6767, allocations: 15.89 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.6771, allocations: 142.9 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6771, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6771, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6771, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.6777, allocations: 456.9 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6777, allocations: 0 / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.6779, allocations: 19.98 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.6779, allocations: 4 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6779, allocations: 4.094 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6779, allocations: 0 / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6779, allocations: 4 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.6783, allocations: 249.8 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.6783, allocations: 97 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.6784, allocations: 0 / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.6785, allocations: 19.98 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.6786, allocations: 11.92 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.6786, allocations: 4 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001197/0.6787, allocations: 141.2 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6787, allocations: 0 / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002527/0.679, allocations: 28 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0006971/0.6797, allocations: 0.7773 MB / 1.228 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.68, allocations: 96.66 kB / 1.228 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.68, allocations: 7.938 kB / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.6802, allocations: 47.92 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.6805, allocations: 15.92 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.6828, allocations: 1.899 MB / 1.23 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.6831, allocations: 0.7083 MB / 1.23 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.059e-05/0.6832, allocations: 13.08 kB / 1.23 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.6833, allocations: 43.42 kB / 1.23 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6833, allocations: 0 / 1.23 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.7065, allocations: 2.802 MB / 1.233 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/8.25, allocations: 9.312 kB / 1.233 GB, free: 4.41 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_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_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches