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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7611 GB, free: 11.41 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.89 kB / 1.104 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.8526, allocations: 168.7 MB / 1.269 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002486/0.8551, allocations: 0.8972 MB / 1.27 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.8564, allocations: 0.8897 MB / 1.271 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.8565, allocations: 7.938 kB / 1.271 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.36e-05/0.8566, allocations: 7.875 kB / 1.271 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.8567, allocations: 7.875 kB / 1.271 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.857, allocations: 71.83 kB / 1.271 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.8573, allocations: 135.7 kB / 1.271 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.8575, allocations: 49.41 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.8576, allocations: 55.84 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.8577, allocations: 59.69 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.8577, allocations: 16 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.8577, allocations: 12 kB / 1.271 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.8578, allocations: 27.86 kB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.8578, allocations: 67.66 kB / 1.271 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.8581, allocations: 145.1 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8581, allocations: 0 / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.542e-06/0.8581, allocations: 0 / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8581, allocations: 0 / 1.271 GB, free: 2.805 MB / 0.9669 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.0007137/0.8588, allocations: 454.9 kB / 1.272 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.8589, allocations: 8.031 kB / 1.272 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.8589, allocations: 46.73 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.8589, allocations: 16.84 kB / 1.272 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.8593, allocations: 224 kB / 1.272 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.8593, allocations: 12.38 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.8593, allocations: 16.38 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.8596, allocations: 146.7 kB / 1.272 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8596, allocations: 3.938 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.8597, allocations: 4 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.8597, allocations: 4 kB / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.86, allocations: 127.9 kB / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.8608, allocations: 0.4884 MB / 1.273 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.861, allocations: 86.47 kB / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.8611, allocations: 45.02 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.8611, allocations: 7.938 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.8611, allocations: 34.56 kB / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.8611, allocations: 0 / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004917/0.8616, allocations: 153.5 kB / 1.273 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.8617, allocations: 51.41 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.8619, allocations: 200 kB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.8619, allocations: 33.7 kB / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.862, allocations: 108.1 kB / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.862, allocations: 35.69 kB / 1.273 GB, free: 324 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.8621, allocations: 25.72 kB / 1.273 GB, free: 292 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.8622, allocations: 322.8 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.8624, allocations: 47.97 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.8625, allocations: 39.97 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.8627, allocations: 96.81 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8628, allocations: 7.875 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003381/0.8631, allocations: 145.3 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.8631, allocations: 8 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8631, allocations: 3.984 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8631, allocations: 0 / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.8633, allocations: 31.92 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.8633, allocations: 0 / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.8634, allocations: 23.84 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.8634, allocations: 7.922 kB / 1.274 GB, free: 15.55 MB / 0.9825 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.963e-05/0.8635, allocations: 125.7 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.8636, allocations: 11.95 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.8639, allocations: 146.9 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8639, allocations: 4 kB / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8639, allocations: 0 / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8639, allocations: 0 / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.8645, allocations: 444.9 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8645, allocations: 4 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.8647, allocations: 32.02 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8647, allocations: 0 / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8647, allocations: 4 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8647, allocations: 0 / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8647, allocations: 0 / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.865, allocations: 245.9 kB / 1.275 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.8651, allocations: 101 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.8651, allocations: 0 / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.8653, allocations: 11.98 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.8653, allocations: 15.92 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.8653, allocations: 4 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001325/0.8654, allocations: 149.2 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8654, allocations: 0 / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002742/0.8657, allocations: 24 kB / 1.275 GB, free: 14.12 MB / 0.9825 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.0007491/0.8665, allocations: 0.7813 MB / 1.276 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.8668, allocations: 91.88 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8668, allocations: 4 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.8669, allocations: 39.92 kB / 1.276 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.8672, allocations: 38.06 kB / 1.276 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.8696, allocations: 1.893 MB / 1.278 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.8699, allocations: 0.7083 MB / 1.279 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.87, allocations: 13.08 kB / 1.279 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.87, allocations: 47.42 kB / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.87, allocations: 0 / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.8967, allocations: 2.828 MB / 1.282 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/9.102, allocations: 8.234 kB / 1.282 GB, free: 7.617 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.250156104099005]