Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_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.004839/0.004839, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001392/0.001392, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.306/1.306, 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 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 437.1 MB / 0.7105 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 59.91 kB / 1.018 GB, free: 9.809 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5947, 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.Line): time 0.001767/0.5965, allocations: 0.8934 MB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.5975, allocations: 0.896 MB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.5975, allocations: 4 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.5976, allocations: 11.81 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.5977, allocations: 7.875 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.5978, allocations: 63.91 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.598, allocations: 147.7 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.5982, allocations: 53.47 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.5983, allocations: 47.84 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.5983, allocations: 59.69 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.5984, allocations: 15.98 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.061e-05/0.5984, allocations: 12 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.5984, allocations: 39.84 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.5985, allocations: 55.67 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.5987, allocations: 139 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.5987, allocations: 4 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5987, allocations: 0 / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.5987, allocations: 0 / 1.169 GB, free: 1.297 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006231/0.5993, allocations: 446.9 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.5994, allocations: 8.922 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.5994, allocations: 50.73 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.5995, allocations: 20.84 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.5997, allocations: 225 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5997, allocations: 8.375 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.5997, allocations: 12.38 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.6, allocations: 150.1 kB / 1.17 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6, allocations: 3.938 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6001, allocations: 8 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.6001, allocations: 4 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.6004, allocations: 127.9 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.6011, allocations: 492.2 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.6013, allocations: 86.47 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.6014, allocations: 48.83 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.6014, allocations: 4 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.6015, allocations: 42.69 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.6015, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004304/0.6019, allocations: 157.5 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.602, allocations: 51.41 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.6021, allocations: 196 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.6022, allocations: 29.7 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.6022, allocations: 112 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.6023, allocations: 43.67 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.6023, allocations: 21.72 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6025, allocations: 330.8 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.6026, allocations: 35.98 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.6027, allocations: 45.34 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.6029, allocations: 96.81 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6029, allocations: 3.938 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002971/0.6032, allocations: 151 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6033, allocations: 4 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.6033, allocations: 0 / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6033, allocations: 4 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.6034, allocations: 32.36 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.6034, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.301e-05/0.6035, allocations: 15.88 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.6036, allocations: 4 kB / 1.172 GB, free: 14.05 MB / 0.9044 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 9.182e-05/0.6037, allocations: 129.7 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.6037, allocations: 15.91 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.604, allocations: 150.8 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.604, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.604, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6041, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.6046, allocations: 452.9 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6046, allocations: 96 / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.6047, allocations: 31.92 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6047, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.6048, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6048, allocations: 7.984 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6048, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.6051, allocations: 245.9 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.6052, allocations: 93 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.6052, allocations: 4 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.6053, allocations: 15.98 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.6054, allocations: 11.92 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.6054, allocations: 12 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001155/0.6055, allocations: 148.1 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6055, allocations: 0 / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002271/0.6058, allocations: 20 kB / 1.173 GB, free: 12.61 MB / 0.9044 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.0006508/0.6064, allocations: 0.7814 MB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.6067, allocations: 103.8 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6067, allocations: 0 / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.6069, allocations: 52.09 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.6071, allocations: 19.94 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.6093, allocations: 1.885 MB / 1.176 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.6096, allocations: 0.7045 MB / 1.176 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.958e-05/0.6096, allocations: 21.08 kB / 1.176 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.6097, allocations: 39.42 kB / 1.176 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.6097, allocations: 0 / 1.176 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.458/2.068, allocations: 2.801 MB / 1.179 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/13.71, allocations: 14.77 kB / 1.179 GB, free: 6.125 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches